Skip to content

Commit

Permalink
test: crc should stop without force otherwise it is a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumerose authored and praveenkumar committed Jul 23, 2021
1 parent 171f906 commit 5ca59b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/features/basic.feature
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ Feature: Basic test
Given executing "crc bundle generate -f" succeeds

@darwin @windows
Scenario: CRC forcible stop
When executing "crc stop -f"
Scenario: CRC stop
When executing "crc stop"
Then stdout should match "(.*)[Ss]topped the OpenShift cluster"
And executing "oc whoami" fails

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/features/story_health.feature
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Feature: End-to-end health check
@darwin @linux @windows
Scenario: Stop and start CRC, then check app still runs
Given with up to "2" retries with wait period of "60s" http response from "http://httpd-example-testproj.apps-crc.testing" has status code "200"
When executing "crc stop -f" succeeds
When executing "crc stop" succeeds
Then checking that CRC is stopped
When starting CRC with default bundle succeeds
Then checking that CRC is running
Expand Down

0 comments on commit 5ca59b8

Please sign in to comment.