Fix flake, non-consistent list doesn't give any guarantees about staleness

Kubernetes-commit: 38d5cb368dd95b7f185dbba97fc3e193f48a83f2
This commit is contained in:
Marek Siarkowicz 2025-03-31 08:10:42 +02:00 committed by Kubernetes Publisher
parent aed144f141
commit 30b60eb0a6
1 changed files with 1 additions and 1 deletions

View File

@ -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