Fix flake, non-consistent list doesn't give any guarantees about staleness
Kubernetes-commit: 38d5cb368dd95b7f185dbba97fc3e193f48a83f2
This commit is contained in:
parent
aed144f141
commit
30b60eb0a6
|
@ -1186,7 +1186,7 @@ func RunTestList(ctx context.Context, t *testing.T, store storage.Interface, inc
|
|||
prefix: "/pods/empty",
|
||||
pred: storage.Everything,
|
||||
rv: "0",
|
||||
expectRVFunc: resourceVersionNotOlderThan(list.ResourceVersion),
|
||||
expectRVFunc: resourceVersionNotOlderThan(initialRV),
|
||||
expectedOut: []example.Pod{},
|
||||
},
|
||||
// match=Exact
|
||||
|
|
Loading…
Reference in New Issue