File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,15 @@ const (
3939
4040var _ = g .Describe ("[sig-apps][OCPFeatureGate:DualReplica][Suite:openshift/two-node] [Degraded] Two Node Fencing behavior in degraded mode" , func () {
4141 oc := exutil .NewCLI ("tnf-degraded" ).AsAdmin ()
42- ctx := context .Background ()
43- kubeClient := oc .AdminKubeClient ()
4442
4543 g .BeforeEach (func () {
4644 utils .EnsureTNFDegradedOrSkip (oc )
4745 })
4846
4947 g .It ("should allow a single eviction and block the second when PDB minAvailable=1 [apigroup:policy]" , func () {
48+ ctx := context .Background ()
49+ kubeClient := oc .AdminKubeClient ()
50+
5051 ns := oc .Namespace ()
5152 labels := map [string ]string {pdbLabelKey : pdbLabelValue }
5253 selector := fmt .Sprintf ("%s=%s" , pdbLabelKey , pdbLabelValue )
@@ -97,6 +98,8 @@ var _ = g.Describe("[sig-apps][OCPFeatureGate:DualReplica][Suite:openshift/two-n
9798 })
9899
99100 g .It ("should block a reboot-required MachineConfig rollout on the remaining master [Serial] [apigroup:machineconfiguration.openshift.io]" , func () {
101+ ctx := context .Background ()
102+ kubeClient := oc .AdminKubeClient ()
100103 ns := oc .Namespace ()
101104 mcoClient := machineconfigclient .NewForConfigOrDie (oc .AdminConfig ())
102105
You can’t perform that action at this time.
0 commit comments