test-store: don't break on slow systems

The 'circular-symlink' test.
This commit is contained in:
Dirk-Jan C. Binnema
2025-04-13 20:34:44 +03:00
parent 102dfa1bd4
commit a7778fc333

View File

@ -515,7 +515,8 @@ test_store_circular_symlink(void)
size_t n{};
while (store.indexer().is_running()) {
std::this_thread::sleep_for(100ms);
g_assert_cmpuint(n++,<=,27); // 25 should be enough but #2832...
// 5 sec should be enough, even on the slowest supported systems..
g_assert_cmpuint(n++,<=,50);
}
// there will be a lot of dups....
g_assert_false(store.empty());