mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-16 06:02:45 +01:00
On some builders the init seems to take longer than 1s, so increase to 5s and hope this is enough for python+httpbin to be initialized.
14 lines
537 B
Diff
14 lines
537 B
Diff
diff --git a/tests/httpbin.h.in b/tests/httpbin.h.in
|
|
index 0010068..6a96e66 100644
|
|
--- a/tests/httpbin.h.in
|
|
+++ b/tests/httpbin.h.in
|
|
@@ -45,7 +45,7 @@ struct Instance
|
|
core::posix::exec("/usr/bin/python3", {"-c", "from httpbin import app; app.run()"}, {}, core::posix::StandardStream::stdout /*| core::posix::StandardStream::stderr*/)
|
|
}
|
|
{
|
|
- std::this_thread::sleep_for(std::chrono::milliseconds{1000});
|
|
+ std::this_thread::sleep_for(std::chrono::milliseconds{5000});
|
|
}
|
|
|
|
~Instance()
|