refactor: chaos redundant, shorter message
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2025-03-16 13:54:07 +01:00
parent d1e49d17ce
commit cb63cfe9c2
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 3 additions and 5 deletions

View File

@ -185,7 +185,7 @@ var AppNewCommand = &cobra.Command{
newAppServer = "local" newAppServer = "local"
} }
log.Infof("%s created successfully (version: %s, chaos: %s)", appDomain, recipeVersion, chaosVersion) log.Infof("%s created (version: %s)", appDomain, recipeVersion)
if len(appSecrets) > 0 { if len(appSecrets) > 0 {
rows := [][]string{} rows := [][]string{}

View File

@ -214,8 +214,7 @@ teardown(){
--chaos --chaos
assert_success assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env" assert_exists "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_output --partial "version: ${currentHash:0:8}" assert_output --partial "version: ${currentHash:0:8}+U"
assert_output --partial "chaos: ${currentHash:0:8}"
assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo" assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
assert_equal "$(_git_status)" "?? foo" assert_equal "$(_git_status)" "?? foo"
@ -242,8 +241,7 @@ teardown(){
--chaos --chaos
assert_success assert_success
assert_exists "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env" assert_exists "$ABRA_DIR/servers/$TEST_SERVER/$TEST_APP_DOMAIN.env"
assert_output --partial "version: ${currentHash:0:8}" assert_output --partial "version: ${currentHash:0:8}+U"
assert_output --partial "chaos: ${currentHash:0:8}"
assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo" assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
assert_equal "$(_git_status)" "?? foo" assert_equal "$(_git_status)" "?? foo"