diff --git a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go b/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go index 09bf0ec068f..3501e775fed 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go @@ -252,10 +252,7 @@ func TestListContinuationWithFilter(t *testing.T) { } func TestListInconsistentContinuation(t *testing.T) { - ctx, cacher, terminate := testSetup(t) - t.Cleanup(terminate) // TODO(#109831): Enable use of this by setting compaction. - storagetesting.RunTestListInconsistentContinuation(ctx, t, cacher, nil) } func TestListResourceVersionMatch(t *testing.T) { diff --git a/staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go b/staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go index 649262636e7..acbafd9bf4e 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go @@ -2420,10 +2420,6 @@ type Compaction func(ctx context.Context, t *testing.T, resourceVersion string) type IncreaseRVFunc func(ctx context.Context, t *testing.T) func RunTestListInconsistentContinuation(ctx context.Context, t *testing.T, store storage.Interface, compaction Compaction) { - if compaction == nil { - t.Skipf("compaction callback not provided") - } - // Setup storage with the following structure: // / // - first/