Skip to content

Commit

Permalink
Increase timeout on GC check in GC test
Browse files Browse the repository at this point in the history
  • Loading branch information
josephschorr committed Dec 11, 2024
1 parent 4f1ed5f commit 6e584aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/datastore/test/revisions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6e584aa

Please sign in to comment.