Skip to content

Commit

Permalink
Fix e2e bats tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesoconor committed Dec 14, 2023
1 parent 400c754 commit 8446ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2etests/bats-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ get_value_from() {
message3=$(get_value_from "${lines[0]}" '.Reports[2].Object.K8sObject.GroupVersionKind.Kind + ": " + .Reports[2].Diagnostic.Message')
count=$(get_value_from "${lines[0]}" '.Reports | length')

[[ "${message1}" == "Deployment: container \"fire-deployment-name\" does not have an open port 8080" ]]
[[ "${message2}" == "StatefulSet: container \"fire-deployment-int\" does not have an open port heath" ]]
[[ "${message1}" == "Deployment: container \"fire-deployment-name\" does not have an open port http" ]]
[[ "${message2}" == "Deployment: container \"fire-deployment-int\" does not have an open port 8080" ]]
[[ "${message3}" == "StatefulSet: container \"fire-stateful-name\" does not have an open port healthcheck" ]]
[[ "${count}" == "3" ]]
}
Expand Down

0 comments on commit 8446ded

Please sign in to comment.