summaryrefslogtreecommitdiff
path: root/test/client_server_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-21 00:59:59 +0200
committerCarl Hetherington <cth@carlh.net>2019-10-21 00:59:59 +0200
commitf0a2a52ddd1118236d4ce5640339c24bae88aa12 (patch)
tree7742a6f25739c0d9e2d7fa25413a481fe3e076c3 /test/client_server_test.cc
parent749c7b0098feb893c2a11012eb889fda0043666d (diff)
Rename dcpomatic_sleep -> dcpomatic_sleep_seconds.
Diffstat (limited to 'test/client_server_test.cc')
-rw-r--r--test/client_server_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/client_server_test.cc b/test/client_server_test.cc
index 29f901d34..df854f9f3 100644
--- a/test/client_server_test.cc
+++ b/test/client_server_test.cc
@@ -122,7 +122,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_rgb)
thread* server_thread = new thread (boost::bind (&EncodeServer::run, server));
/* Let the server get itself ready */
- dcpomatic_sleep (1);
+ dcpomatic_sleep_seconds (1);
/* "localhost" rather than "127.0.0.1" here fails on docker; go figure */
EncodeServerDescription description ("127.0.0.1", 1, SERVER_LINK_VERSION);
@@ -207,7 +207,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_yuv)
thread* server_thread = new thread (boost::bind (&EncodeServer::run, server));
/* Let the server get itself ready */
- dcpomatic_sleep (1);
+ dcpomatic_sleep_seconds (1);
/* "localhost" rather than "127.0.0.1" here fails on docker; go figure */
EncodeServerDescription description ("127.0.0.1", 2, SERVER_LINK_VERSION);
@@ -305,7 +305,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_j2k)
thread* server_thread = new thread (boost::bind (&EncodeServer::run, server));
/* Let the server get itself ready */
- dcpomatic_sleep (1);
+ dcpomatic_sleep_seconds (1);
/* "localhost" rather than "127.0.0.1" here fails on docker; go figure */
EncodeServerDescription description ("127.0.0.1", 2, SERVER_LINK_VERSION);