summaryrefslogtreecommitdiffhomepage
path: root/tests/test-webserver.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-12 15:50:15 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-12 15:50:15 +0100
commit2bb0d2ab46bf8104ab6e0b96fdefbeb20aa4c9e4 (patch)
tree7bd0e7104d687206422d2d882592cd70b35ea80b /tests/test-webserver.cpp
parent7472e4e8e4897adc90f9e9030bb35ea07ded8b32 (diff)
Move https.* to http.*
Diffstat (limited to 'tests/test-webserver.cpp')
-rw-r--r--tests/test-webserver.cpp2
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);
}