fix RISC-V test failure
authorAurelien Jarno <aurel32@debian.org>
Mon, 3 Jun 2024 21:05:55 +0000 (22:05 +0100)
committerJeremy Sowden <azazel@debian.org>
Mon, 3 Jun 2024 21:05:55 +0000 (22:05 +0100)
Last-Update: 2024-05-15
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071192

Increase time-out to fix test failure on RISC-V.

Gbp-Pq: Name increase-mu-store-test-time-out.patch

lib/tests/test-mu-store.cc

index da7f1202d9a4283e0d1ce7db9aef548e41bf0a11..5bac4efe320e81a35e1b571dec09447a642c9a23 100644 (file)
@@ -494,7 +494,7 @@ test_store_circular_symlink(void)
        size_t n{};
        while (store.indexer().is_running()) {
                std::this_thread::sleep_for(100ms);
-               g_assert_cmpuint(n++,<=,25);
+               g_assert_cmpuint(n++,<=,50);
        }
        // there will be a lot of dups....
        g_assert_false(store.empty());