Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 38d5cb3

Browse files
serathiusahrtr
authored andcommittedMar 31, 2025
Fix flake, non-consistent list doesn't give any guarantees about staleness
1 parent 9b5c450 commit 38d5cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ func RunTestList(ctx context.Context, t *testing.T, store storage.Interface, inc
11861186
prefix: "/pods/empty",
11871187
pred: storage.Everything,
11881188
rv: "0",
1189-
expectRVFunc: resourceVersionNotOlderThan(list.ResourceVersion),
1189+
expectRVFunc: resourceVersionNotOlderThan(initialRV),
11901190
expectedOut: []example.Pod{},
11911191
},
11921192
// match=Exact

0 commit comments

Comments
 (0)
Please sign in to comment.