Skip to content

Commit

Permalink
Adapting the test as no pod will be created and by consequence no Dep…
Browse files Browse the repository at this point in the history
…loyment resource will be available

Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Oct 19, 2023
1 parent c9ede91 commit 16f0d6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controllers/gitserver/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 16f0d6f

Please sign in to comment.