forked from coop-cloud/abra
0
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
p4u1 ad323ad2bd partially fix tests/integration/app_version.bats 2024-02-18 12:22:36 +01:00
p4u1 328b4d3859 fix _rm_server for local server 2024-02-18 12:13:14 +01:00
2 changed files with 6 additions and 2 deletions

View File

@ -92,7 +92,7 @@ teardown(){
assert_success
# NOTE(d1): to let the stack come down before nuking volumes
sleep 3
sleep 5
run $ABRA app volume remove "$appDomain" --no-input
assert_success

View File

@ -11,7 +11,11 @@ _add_server() {
}
_rm_server() {
run $ABRA server remove --no-input "$TEST_SERVER"
if [[ "$TEST_SERVER" == "default" ]]; then
run rm -rf "$ABRA_DIR/servers/default"
else
run $ABRA server remove --no-input "$TEST_SERVER"
fi
assert_success
assert_not_exists "$ABRA_DIR/servers/$TEST_SERVER"
}