From 086b4828ffa97ee529c9f73655816871a6c078f8 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 9 Jan 2025 11:35:58 +0100 Subject: [PATCH] docs: better comments, remove redundant output check --- tests/integration/app_rollback_overview.bats | 6 ++---- tests/integration/app_upgrade_overview.bats | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/integration/app_rollback_overview.bats b/tests/integration/app_rollback_overview.bats index 5f652980..9690c31c 100644 --- a/tests/integration/app_rollback_overview.bats +++ b/tests/integration/app_rollback_overview.bats @@ -37,9 +37,8 @@ teardown(){ assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" assert_output --regexp 'CHAOS.*false' - # new deployment + # rollback assert_output --regexp 'VERSION.*' + "0.1.0+1.20.0" - assert_output --regexp 'CHAOS.*false' # env version assert_output --regexp 'CURRENT VERSION.*' + "0.2.0+1.21.0" @@ -63,9 +62,8 @@ teardown(){ assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" assert_output --regexp 'CHAOS.*false' - # new deployment + # rollback assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" - assert_output --regexp 'CHAOS.*false' # env version assert_output --regexp 'CURRENT VERSION.*' + "0.2.0+1.21.0" diff --git a/tests/integration/app_upgrade_overview.bats b/tests/integration/app_upgrade_overview.bats index 826ccc18..4b906b90 100644 --- a/tests/integration/app_upgrade_overview.bats +++ b/tests/integration/app_upgrade_overview.bats @@ -35,7 +35,7 @@ teardown(){ assert_output --regexp 'VERSION.*' + "0.1.0+1.20.0" assert_output --regexp 'CHAOS.*false' - # new deployment + # upgrade assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" assert_output --regexp 'CHAOS.*false' @@ -61,7 +61,7 @@ teardown(){ assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" assert_output --regexp 'CHAOS.*false' - # new deployment + # upgrade assert_output --regexp 'VERSION.*' + "0.2.0+1.21.0" assert_output --regexp 'CHAOS.*false'