fix(test): wait for test thread to exit with 100ms timeout

This commit is contained in:
phaneron 2024-02-20 18:52:22 -05:00
parent 93e4cfc300
commit 25b12dee7b

View file

@ -53,5 +53,6 @@ TEST_CASE("SThread::Create", "[thread]") {
auto threadName = const_cast<char*>("TestThread");
auto threadParam = SMemAlloc(16, nullptr, 0, 0x0);
REQUIRE(SThread::Create(threadProc, threadParam, thread, threadName, 0) != 0);
thread.Wait(100);
}
}