refactor: chaos redundant, shorter message
This commit is contained in:
parent
d1e49d17ce
commit
cb63cfe9c2
@ -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{}
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user