Increasing time out in tests, probably useless.
This commit is contained in:
1 parent
3d80cf7115
commit
07621ba838
1 file changed
+7
-7
@@ -14,7 +14,7 @@ namespace qbus {
|
||||
|
||||
double measure_latency(RPCClient &cli)
|
||||
{
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
|
||||
std::promise<void> p;
|
||||
auto f = p.get_future();
|
||||
@@ -59,7 +59,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
on_reply(req);
|
||||
});
|
||||
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
|
||||
std::promise<void> p;
|
||||
auto f = p.get_future();
|
||||
@@ -103,7 +103,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
|
||||
RPCServer server(qb,sn,[] (RPCRequestPtr const&,const ReplyHandler &) {});
|
||||
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
|
||||
std::promise<void> p;
|
||||
auto f = p.get_future();
|
||||
@@ -129,7 +129,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
on_reply(req);
|
||||
});
|
||||
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
|
||||
std::promise<void> p;
|
||||
auto f = p.get_future();
|
||||
@@ -150,7 +150,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
});
|
||||
|
||||
// second call should be replied by the second server
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
std::promise<void> p2;
|
||||
auto f2 = p2.get_future();
|
||||
cli.send(std::make_shared<Record> ("hello"),
|
||||
@@ -174,7 +174,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
|
||||
RPCServer server(qb,sn,[] (RPCRequestPtr const&req,const ReplyHandler &on_reply) {on_reply(req);});
|
||||
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
std::vector<std::promise<void>> pis(100);
|
||||
|
||||
|
||||
@@ -211,7 +211,7 @@ TEST_CASE("Quickbus RPC Tests","[quickbus]")
|
||||
RPCServer server(qb,sn,[] (RPCRequestPtr const&req,const ReplyHandler &on_reply) {on_reply(req);});
|
||||
|
||||
for (auto &cli :clis)
|
||||
REQUIRE(cli.wait_until_connected(5));
|
||||
REQUIRE(cli.wait_until_connected(15));
|
||||
|
||||
std::vector<std::promise<void>> pis(clis.size());
|
||||
|
||||
|
||||
Reference in new issue
Block a user