diff options
Diffstat (limited to 'tests/test-webserver.cpp')
-rw-r--r-- | tests/test-webserver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-webserver.cpp b/tests/test-webserver.cpp index 727356d..85859df 100644 --- a/tests/test-webserver.cpp +++ b/tests/test-webserver.cpp @@ -1113,6 +1113,7 @@ echo -ne "HTTP_HOST: $HTTP_HOST\r\n" BOOST_FIXTURE_TEST_CASE(empty_config, Fixture) { WebserverProcess serverProcess{""}; + std::this_thread::sleep_for(std::chrono::milliseconds(50)); BOOST_REQUIRE_EQUAL(serverProcess.is_running(), false); } @@ -1123,5 +1124,6 @@ BOOST_FIXTURE_TEST_CASE(incomplete_config, Fixture) <group>www-data</group> </webserver>)CONFIG"}; WebserverProcess serverProcess{webserver_config}; + std::this_thread::sleep_for(std::chrono::milliseconds(50)); BOOST_REQUIRE_EQUAL(serverProcess.is_running(), false); } |