Skip to content

Commit

Permalink
Issue #603 Augment integration test story to check if app runs after …
Browse files Browse the repository at this point in the history
…stop and start
  • Loading branch information
jsliacan authored and cfergeau committed Oct 22, 2019
1 parent 57ae9ea commit 20e1aa4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/features/story_health.feature
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ Feature:
And executing "oc expose svc/httpd-ex" succeeds
And with up to "2" retries with wait period of "60s" http response from "http://httpd-ex-testproj.apps-crc.testing" has status code "200"

@darwin @linux
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-ex-testproj.apps-crc.testing" has status code "200"
When executing "crc stop" succeeds
Then with up to "4" retries with wait period of "2m" command "crc status" output should contain "Stopped"
When starting CRC with default bundle and default hypervisor succeeds
Then with up to "4" retries with wait period of "2m" command "crc status" output should match ".*Running \(v\d+\.\d+\.\d+.*\).*"
And with up to "2" retries with wait period of "60s" http response from "http://httpd-ex-testproj.apps-crc.testing" has status code "200"

@darwin @linux
Scenario: Clean up
Given executing "oc delete project testproj" succeeds
Expand Down

0 comments on commit 20e1aa4

Please sign in to comment.