aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2021-07-27 16:36:15 +0200
committerMatthew Gregan <[email protected]>2021-07-28 11:22:26 +1200
commite6c328cdee5fd09250e584d494e9b9ab147fe833 (patch)
tree3f5ae2f515d9b7ec4ed3d282c488f6807d11909e
parentf59f5ac47655cef37a4dae1fca5507f1653b7111 (diff)
downloadcubeb-e6c328cdee5fd09250e584d494e9b9ab147fe833.tar.gz
cubeb-e6c328cdee5fd09250e584d494e9b9ab147fe833.zip
Increase delay to really test the pulse backend.
Turns out it was testing the preroll, and with the preroll gone from the pulse-rust backend in https://github.com/mozilla/cubeb-pulse-rs/pull/69, this fails on (at least) docker-on-AWS hosts.
-rw-r--r--test/test_sanity.cpp2
-rw-r--r--test/test_tone.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_sanity.cpp b/test/test_sanity.cpp
index 42a591d..5fc72f5 100644
--- a/test/test_sanity.cpp
+++ b/test/test_sanity.cpp
@@ -612,7 +612,7 @@ TEST(cubeb, drain)
r = cubeb_stream_start(stream);
ASSERT_EQ(r, CUBEB_OK);
- delay(500);
+ delay(5000);
do_drain = 1;
diff --git a/test/test_tone.cpp b/test/test_tone.cpp
index de4c526..70a7188 100644
--- a/test/test_tone.cpp
+++ b/test/test_tone.cpp
@@ -114,7 +114,7 @@ TEST(cubeb, tone)
cleanup_stream_at_exit(stream, cubeb_stream_destroy);
cubeb_stream_start(stream);
- delay(500);
+ delay(5000);
cubeb_stream_stop(stream);
ASSERT_TRUE(user_data->position.load());