mirror of https://github.com/oxen-io/oxen-mq.git
Increase test timeouts for arm
These *sometimes* spurious fail because apparently they weren't quite long enough to pass tests on my Pi 4.
This commit is contained in:
parent
0a7074c573
commit
3a120efb79
|
@ -115,7 +115,7 @@ TEST_CASE("outgoing auth level", "[commands][auth]") {
|
|||
auto admin_c = client.connect_remote(listen, [](...) {}, [](...) {}, server.get_pubkey(), AuthLevel::admin);
|
||||
|
||||
client.send(public_c, "public.reflect", "public.hi");
|
||||
std::this_thread::sleep_for(20ms);
|
||||
std::this_thread::sleep_for(50ms);
|
||||
|
||||
REQUIRE( public_hi == 1 );
|
||||
|
||||
|
@ -126,7 +126,7 @@ TEST_CASE("outgoing auth level", "[commands][auth]") {
|
|||
client.send(admin_c, "public.reflect", "admin.hi");
|
||||
client.send(basic_c, "public.reflect", "basic.hi");
|
||||
|
||||
std::this_thread::sleep_for(30ms);
|
||||
std::this_thread::sleep_for(50ms);
|
||||
REQUIRE( admin_hi == 3 );
|
||||
REQUIRE( basic_hi == 2 );
|
||||
REQUIRE( public_hi == 2 );
|
||||
|
@ -145,7 +145,7 @@ TEST_CASE("outgoing auth level", "[commands][auth]") {
|
|||
client.send(admin_c, "public.reflect", "basic.hi");
|
||||
client.send(admin_c, "public.reflect", "public.hi");
|
||||
|
||||
std::this_thread::sleep_for(30ms);
|
||||
std::this_thread::sleep_for(50ms);
|
||||
REQUIRE( admin_hi == 1 );
|
||||
REQUIRE( basic_hi == 2 );
|
||||
REQUIRE( public_hi == 3 );
|
||||
|
|
Loading…
Reference in New Issue