summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llcorehttp/tests/wsserver_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcorehttp/tests/wsserver_test.cpp b/indra/llcorehttp/tests/wsserver_test.cpp
index 4d442e3a45..62fa66a9cd 100644
--- a/indra/llcorehttp/tests/wsserver_test.cpp
+++ b/indra/llcorehttp/tests/wsserver_test.cpp
@@ -244,6 +244,7 @@ namespace tut
ensure("started", manager.startServer(mName));
ensure_equals("no origin: connection opens", upgradeFrom(mPort, std::string()), 101);
+ ensure("server clears the abruptly closed raw connection", waitUntil([&]() { return server->getConnectionCount() == 0; }));
TestWSClient client;
ensure("no origin: client connects over the network", client.connect(mPort, std::string()));
@@ -341,6 +342,7 @@ namespace tut
ensure("started", manager.startServer(mName));
ensure_equals("empty origin: connection opens", upgradeFrom(mPort, std::string(), true), 101);
+ ensure("server clears the abruptly closed raw connection", waitUntil([&]() { return server->getConnectionCount() == 0; }));
TestWSClient client;
ensure("empty origin: client connects over the network", client.connect(mPort, std::string(), true));