diff --git a/pkg/controllers/gitserver/controller_test.go b/pkg/controllers/gitserver/controller_test.go index 6172ef84..f26d98bf 100644 --- a/pkg/controllers/gitserver/controller_test.go +++ b/pkg/controllers/gitserver/controller_test.go @@ -115,7 +115,8 @@ func TestGitServerController(t *testing.T) { continue } - if gotResource.Status.DeploymentAvailable { + // As no pod is created using kube-apiserver, then we cannot check if a resource has been deployed + if gotResource.Status.ImageID == "" { break }