We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75bee4 commit f6f37adCopy full SHA for f6f37ad
pkg/apps/registry/rest_test.go
@@ -18,6 +18,7 @@ func TestWaitForRunningDeploymentSuccess(t *testing.T) {
18
fakeController := &kapi.ReplicationController{}
19
fakeController.Name = "test-1"
20
fakeController.Namespace = "test"
21
+ fakeController.Annotations = map[string]string{deployapi.DeploymentStatusAnnotation: string(deployapi.DeploymentStatusRunning)}
22
23
kubeclient := fake.NewSimpleClientset([]runtime.Object{fakeController}...)
24
fakeWatch := watch.NewFake()
@@ -38,7 +39,6 @@ func TestWaitForRunningDeploymentSuccess(t *testing.T) {
38
39
}
40
}()
41
- fakeController.Annotations = map[string]string{deployapi.DeploymentStatusAnnotation: string(deployapi.DeploymentStatusRunning)}
42
fakeWatch.Modify(fakeController)
43
<-stopChan
44
0 commit comments