File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -68,23 +68,7 @@ var _ = SIGDescribe("[Feature:Windows] [Feature:WindowsGMSA] GMSA [Slow]", func(
68
68
}
69
69
70
70
ginkgo .By ("creating a pod with correct GMSA annotations" )
71
- f .PodClient ().Create (pod )
72
-
73
- ginkgo .By ("waiting for the pod and its containers to be running" )
74
- gomega .Eventually (func () bool {
75
- pod , err := f .PodClient ().Get (podName , metav1.GetOptions {})
76
- if err != nil && pod .Status .Phase != corev1 .PodRunning {
77
- return false
78
- }
79
-
80
- for _ , containerStatus := range pod .Status .ContainerStatuses {
81
- if containerStatus .State .Running == nil {
82
- return false
83
- }
84
- }
85
-
86
- return true
87
- }, 5 * time .Minute , 1 * time .Second ).Should (gomega .BeTrue ())
71
+ f .PodClient ().CreateSync (pod )
88
72
89
73
ginkgo .By ("checking the domain reported by nltest in the containers" )
90
74
namespaceOption := fmt .Sprintf ("--namespace=%s" , f .Namespace .Name )
You can’t perform that action at this time.
0 commit comments