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

This commit is contained in:
Marek Siarkowicz 2025-03-31 08:10:42 +02:00 committed by Benjamin Wang
parent 9b5c4504ee
commit 38d5cb368d

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