Skip to content

Commit

Permalink
test/e2e: ensure there is no error waiting for instance
Browse files Browse the repository at this point in the history
  • Loading branch information
vaijab committed Jun 13, 2024
1 parent aca7405 commit 798ce95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cloud-slack-dev-e2e/cloud_slack_dev_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func TestCloudSlackE2E(t *testing.T) {
fmt.Sprintf("The 'latest' tag used in 'nginx:latest' image of Pod '%s/%s' container 'nginx' should be avoided.", pod.Namespace, pod.Name),
}

var result = true
result := true
for _, str := range expStrings {
if !strings.Contains(msg, str) {
result = false
Expand Down Expand Up @@ -708,7 +708,7 @@ func screenshotIfShould(t *testing.T, cfg E2ESlackConfig, page *rod.Page) {
return
}

err = os.WriteFile(filePath, data, 0644)
err = os.WriteFile(filePath, data, 0o644)
assert.NoError(t, err)
}

Expand Down

0 comments on commit 798ce95

Please sign in to comment.