@@ -45,7 +45,7 @@ type tc struct {
4545}
4646
4747var _ = Describe ("Kubernetes cache watch test:" , Label ("cache-watch" ), func () {
48- DescribeTable ("Cache gets" , Label ("watch-gets" ),
48+ DescribeTable ("Cache gets" , Label ("focus- watch-gets" ),
4949 func (ctx context.Context , testCase * tc ) {
5050 testData := model .DataProvider (
5151 fmt .Sprintf ("cache-%s" , CurrentSpecReport ().LeafNodeLabels [0 ]),
@@ -77,26 +77,26 @@ var _ = Describe("Kubernetes cache watch test:", Label("cache-watch"), func() {
7777 })
7878 },
7979
80- Entry ("From all namespaces when no namespace config is set" , Label ("gets-all" ), & tc {
80+ Entry ("From all namespaces when no namespace config is set" , Label ("focus- gets-all" ), & tc {
8181 namespaces : []string {"ns1" , "ns2" , "ns3" },
8282 watchNamespaces : nil ,
8383 wantToFind : []string {"ns1" , "ns2" , "ns3" },
8484 }),
8585
86- Entry ("One namespace when only one namespace is configured" , Label ("gets-one" ), & tc {
86+ Entry ("One namespace when only one namespace is configured" , Label ("focus- gets-one" ), & tc {
8787 namespaces : []string {"ns1" , "ns2" , "ns3" },
8888 watchNamespaces : []string {"ns1" },
8989 wantToFind : []string {"ns1" },
9090 }),
9191
92- Entry ("Two namespaces when only those two are configured" , Label ("gets-two" ), & tc {
92+ Entry ("Two namespaces when only those two are configured" , Label ("focus- gets-two" ), & tc {
9393 namespaces : []string {"ns1" , "ns2" , "ns3" },
9494 watchNamespaces : []string {"ns1" , "ns2" },
9595 wantToFind : []string {"ns1" , "ns2" },
9696 }),
9797 )
9898
99- DescribeTable ("Cache lists" , Label ("watch-lists" ),
99+ DescribeTable ("Cache lists" , Label ("focus- watch-lists" ),
100100 func (ctx context.Context , testCase * tc ) {
101101 testData := model .DataProvider (
102102 fmt .Sprintf ("cache-%s" , CurrentSpecReport ().LeafNodeLabels [0 ]),
@@ -129,19 +129,19 @@ var _ = Describe("Kubernetes cache watch test:", Label("cache-watch"), func() {
129129 })
130130 },
131131
132- Entry ("From all namespaces when no namespace config is set" , Label ("list-all" ), & tc {
132+ Entry ("From all namespaces when no namespace config is set" , Label ("focus- list-all" ), & tc {
133133 namespaces : []string {"ns1" , "ns2" , "ns3" },
134134 watchNamespaces : nil ,
135135 wantToFind : []string {"ns1" , "ns2" , "ns3" },
136136 }),
137137
138- Entry ("One namespace when only one namespace is configured" , Label ("list-one" ), & tc {
138+ Entry ("One namespace when only one namespace is configured" , Label ("focus- list-one" ), & tc {
139139 namespaces : []string {"ns1" , "ns2" , "ns3" },
140140 watchNamespaces : []string {"ns1" },
141141 wantToFind : []string {"ns1" },
142142 }),
143143
144- Entry ("Two namespaces when only those two are configured" , Label ("list-two" ), & tc {
144+ Entry ("Two namespaces when only those two are configured" , Label ("focus- list-two" ), & tc {
145145 namespaces : []string {"ns1" , "ns2" , "ns3" },
146146 watchNamespaces : []string {"ns1" , "ns2" },
147147 wantToFind : []string {"ns1" , "ns2" },
@@ -228,7 +228,6 @@ var _ = Describe("Reconciles test:", func() {
228228 ).To (Succeed ())
229229 if prj .Status .Common .ObservedGeneration == expectedObservedGeneration {
230230 verifications += 1
231-
232231 }
233232 return verifications > 15
234233 }).WithPolling (time .Second ).WithTimeout (40 * time .Second ).Should (BeTrue ())
@@ -241,19 +240,19 @@ var _ = Describe("Reconciles test:", func() {
241240 })
242241 },
243242
244- Entry ("All namespaces when no namespace config is set" , Label ("reconcile-all" ), & tc {
243+ Entry ("All namespaces when no namespace config is set" , Label ("focus- reconcile-all" ), & tc {
245244 namespaces : []string {"ns1" , "ns2" , "ns3" },
246245 watchNamespaces : nil ,
247246 wantToFind : []string {"ns1" , "ns2" , "ns3" },
248247 }),
249248
250- Entry ("One namespace when only one namespace is configured" , Label ("reconcile-one" ), & tc {
249+ Entry ("One namespace when only one namespace is configured" , Label ("focus- reconcile-one" ), & tc {
251250 namespaces : []string {"ns1" , "ns2" , "ns3" },
252251 watchNamespaces : []string {"ns1" },
253252 wantToFind : []string {"ns1" },
254253 }),
255254
256- Entry ("Two namespaces when only those two are configured" , Label ("reconcile-two" ), & tc {
255+ Entry ("Two namespaces when only those two are configured" , Label ("focus- reconcile-two" ), & tc {
257256 namespaces : []string {"ns1" , "ns2" , "ns3" },
258257 watchNamespaces : []string {"ns1" , "ns2" },
259258 wantToFind : []string {"ns1" , "ns2" },
@@ -291,7 +290,8 @@ func setupSecrets(ctx context.Context, testData *model.TestDataProvider, namespa
291290 secret := & corev1.Secret {}
292291 return g .Expect (
293292 testData .K8SClient .Get (ctx , types.NamespacedName {
294- Name : config .DefaultOperatorGlobalKey , Namespace : ns .GetName ()}, secret ),
293+ Name : config .DefaultOperatorGlobalKey , Namespace : ns .GetName (),
294+ }, secret ),
295295 ).To (Succeed ())
296296 }).WithTimeout (time .Minute ).Should (BeTrue ())
297297 }
0 commit comments