Skip to content

Play your Steam library's Windows games on a jailbroken PS5.

C++

Give the runtime host test more time on a busy machine

Leonardo Lobato9a29c260c484
diff --git a/tests/homebrew_runtime_host_test.cpp b/tests/homebrew_runtime_host_test.cpp
index de70ce2..3ab0831 100644
--- a/tests/homebrew_runtime_host_test.cpp
+++ b/tests/homebrew_runtime_host_test.cpp
@@ -83,8 +83,9 @@ struct Fixture {
}
};
+// Generous: a loaded build machine (parallel ctest, other builds) can stretch a step past 10 s.
RuntimeSnapshot WaitFor(const RuntimeHost& host, const std::function<bool(const RuntimeSnapshot&)>& done,
- int seconds = 10) {
+ int seconds = 30) {
const auto deadline = std::chrono::steady_clock::now() + std::chrono::seconds(seconds);
for (;;) {
auto snapshot = host.Snapshot();