From 6e584aafcc98956badef6fd7ed33faede70cfe72 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 11 Dec 2024 16:40:47 -0500 Subject: [PATCH] Increase timeout on GC check in GC test --- pkg/datastore/test/revisions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/datastore/test/revisions.go b/pkg/datastore/test/revisions.go index 0354329997..ed21c944ab 100644 --- a/pkg/datastore/test/revisions.go +++ b/pkg/datastore/test/revisions.go @@ -131,7 +131,7 @@ func RevisionGCTest(t *testing.T, tester DatastoreTester) { gcable, ok := ds.(common.GarbageCollector) if ok { gcable.ResetGCCompleted() - require.Eventually(func() bool { return gcable.HasGCRun() }, 5*time.Second, 50*time.Millisecond, "GC was never run as expected") + require.Eventually(func() bool { return gcable.HasGCRun() }, 10*time.Second, 150*time.Millisecond, "GC was never run as expected") } // FIXME currently the various datastores behave differently when a revision was requested and GC Window elapses.