refactor: drop unmaintained ls subcommand
The correct way to handle getting the status should be ps:report. Also cleaned up an issue where ps:report failed to catch errors for non-running containers.
This commit is contained in:
1 parent
50a98db8e6
commit
da1ea2dda8
3 files changed
+3
-39
No files matched your search
@@ -147,12 +147,7 @@ teardown() {
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
|
||||
run bash -c "dokku ls"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
|
||||
run bash -c "dokku --quiet ls | grep $TEST_APP | grep -q stopped"
|
||||
run bash -c "dokku --quiet ps:report $TEST_APP | grep -q exited"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
|
||||
Reference in new issue
Block a user