mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
test/e2e/apimachinery/watchlist: select only wellknown secrets for table test
This commit is contained in:
@@ -227,7 +227,7 @@ var _ = SIGDescribe("API Streaming (aka. WatchList)", framework.WithFeatureGate(
|
||||
framework.ExpectNoError(err)
|
||||
dynamicClient := dynamic.New(restClient)
|
||||
|
||||
opts, hasPreparedOptions, err := watchlist.PrepareWatchListOptionsFromListOptions(metav1.ListOptions{})
|
||||
opts, hasPreparedOptions, err := watchlist.PrepareWatchListOptionsFromListOptions(metav1.ListOptions{LabelSelector: "watchlist=true"})
|
||||
framework.ExpectNoError(err)
|
||||
gomega.Expect(hasPreparedOptions).To(gomega.BeTrueBecause("it should be possible to prepare watchlist opts from an empty ListOptions"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user