fix: dont set chaos label if no chaos

See toolshed/abra#478
This commit is contained in:
2025-01-09 11:34:38 +01:00
parent 993172d31b
commit eb6fe4ba6e
6 changed files with 44 additions and 3 deletions

View File

@ -429,3 +429,12 @@ teardown(){
assert_success
assert_output --partial "$latestRelease"
}
# bats test_tags=slow
@test "no chaos version label if no chaos" {
_deploy_app
run $ABRA app labels "$TEST_APP_DOMAIN" --no-input
assert_success
refute_output --regexp "coop-cloud.abra-test-recipe.$TEST_SERVER.chaos-version"
}