summaryrefslogtreecommitdiff
path: root/test/client_server_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-29 10:49:22 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-29 15:48:11 +0200
commit9d6b7a426b71f1791fc3ad1ac15099892c6709fd (patch)
tree4ae6b8e587f7c89897675eed78929f54865005fb /test/client_server_test.cc
parent60000a5c0ebd64e0616cf65d57a6f27662af350a (diff)
Fix failures in real_encode_with_server.
This test suddenly started failing because the server is never found, so never encodes any frames. It's a mystery why this started failing, and even more of a mystery why there seem to be two distinct reasons. Some failures were apparently due to firewalld blocking UDP broadcast; disabling the firewall would make the test pass again. Other failures were apparently caused by an old EncodeServerFinder hanging around, presumably finding servers before a new one had the chance.
Diffstat (limited to 'test/client_server_test.cc')
-rw-r--r--test/client_server_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/client_server_test.cc b/test/client_server_test.cc
index 1bfa4c5a6..64a77415a 100644
--- a/test/client_server_test.cc
+++ b/test/client_server_test.cc
@@ -311,6 +311,8 @@ BOOST_AUTO_TEST_CASE (client_server_test_j2k)
server->stop ();
server_thread.join();
+
+ EncodeServerFinder::drop();
}