mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Fix flake, non-consistent list doesn't give any guarantees about staleness
This commit is contained in:
parent
9b5c4504ee
commit
38d5cb368d
@ -1186,7 +1186,7 @@ func RunTestList(ctx context.Context, t *testing.T, store storage.Interface, inc
|
|||||||
prefix: "/pods/empty",
|
prefix: "/pods/empty",
|
||||||
pred: storage.Everything,
|
pred: storage.Everything,
|
||||||
rv: "0",
|
rv: "0",
|
||||||
expectRVFunc: resourceVersionNotOlderThan(list.ResourceVersion),
|
expectRVFunc: resourceVersionNotOlderThan(initialRV),
|
||||||
expectedOut: []example.Pod{},
|
expectedOut: []example.Pod{},
|
||||||
},
|
},
|
||||||
// match=Exact
|
// match=Exact
|
||||||
|
Loading…
Reference in New Issue
Block a user