Skip to content

Commit 38d5cb3

Browse files
serathiusahrtr
authored andcommitted
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

Lines changed: 1 addition & 1 deletion
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)