Skip to content

Commit

Permalink
Make the test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
jsliacan authored and praveenkumar committed Jan 27, 2020
1 parent 37cb746 commit 5bd993a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/integration/features/basic.feature
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Feature: Basic test
Scenario: CRC setup on Windows
When executing "crc setup" succeeds
Then stdout should contain "Caching oc binary"
Then stdout should contain "Unpacking bundle from the CRC binary"
Then stdout should contain "Unpacking bundle from the CRC binary" if bundle is embedded
Then stdout should contain "Checking Windows 10 release"
Then stdout should contain "Checking if Hyper-V is installed"
Then stdout should contain "Checking if user is a member of the Hyper-V Administrators group"
Expand Down
6 changes: 3 additions & 3 deletions test/integration/features/story_marketplace.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Feature:
Given executing "crc setup" succeeds
When starting CRC with default bundle and hypervisor "<vm-driver>" succeeds
Then stdout should contain "Started the OpenShift cluster"
And executing "eval $(crc oc-env)" succeeds
When with up to "4" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
Then login to the oc cluster succeeds
When with up to "8" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
Then executing "eval $(crc oc-env)" succeeds
And login to the oc cluster succeeds

@darwin
Examples:
Expand Down

0 comments on commit 5bd993a

Please sign in to comment.