Skip to content

Commit 2625529

Browse files
committed
Integration Test: Add log level to debug for crc status
1 parent 31e0e0e commit 2625529

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

test/integration/features/basic.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Feature: Basic test
9797

9898
@darwin @linux @windows
9999
Scenario: CRC status and disk space check
100-
When with up to "15" retries with wait period of "1m" command "crc status" output should not contain "Stopped"
100+
When with up to "15" retries with wait period of "1m" command "crc status --log-level debug" output should not contain "Stopped"
101101
And stdout should contain "Running"
102102
And stdout should match ".*Disk Usage: *\d+\.\d+GB of 32.\d+GB.*"
103103

@@ -124,7 +124,7 @@ Feature: Basic test
124124

125125
@darwin @linux @windows
126126
Scenario: CRC status check
127-
When with up to "2" retries with wait period of "1m" command "crc status" output should not contain "Running"
127+
When with up to "2" retries with wait period of "1m" command "crc status --log-level debug" output should not contain "Running"
128128
And stdout should contain "Stopped"
129129

130130
@darwin @linux @windows

test/integration/features/story_health.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature:
1010
When starting CRC with default bundle succeeds
1111
Then stdout should contain "Started the OpenShift cluster"
1212
And executing "eval $(crc oc-env)" succeeds
13-
When with up to "4" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
13+
When with up to "4" retries with wait period of "2m" command "crc status --log-level debug" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
1414
Then login to the oc cluster succeeds
1515

1616
@windows
@@ -19,7 +19,7 @@ Feature:
1919
When starting CRC with default bundle and nameserver "10.75.5.25" succeeds
2020
Then stdout should contain "Started the OpenShift cluster"
2121
And executing "crc oc-env | Invoke-Expression" succeeds
22-
When with up to "4" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
22+
When with up to "4" retries with wait period of "2m" command "crc status --log-level debug" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
2323
Then login to the oc cluster succeeds
2424

2525
@linux @darwin @windows

test/integration/features/story_marketplace.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Feature:
1818
When starting CRC with default bundle and nameserver "10.75.5.25" succeeds
1919
Then stdout should contain "Started the OpenShift cluster"
2020
And executing "crc oc-env | Invoke-Expression" succeeds
21-
When with up to "4" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
21+
When with up to "4" retries with wait period of "2m" command "crc status --log-level debug" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
2222
Then login to the oc cluster succeeds
2323

2424
@darwin @linux @windows

test/integration/features/story_registry.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Feature: Local image to image-registry to deployment
1111
When starting CRC with default bundle succeeds
1212
Then stdout should contain "Started the OpenShift cluster"
1313
And executing "eval $(crc oc-env)" succeeds
14-
When with up to "4" retries with wait period of "2m" command "crc status" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
14+
When with up to "4" retries with wait period of "2m" command "crc status --log-level debug" output matches ".*Running \(v\d+\.\d+\.\d+.*\).*"
1515
Then login to the oc cluster succeeds
1616

1717
Scenario: Create local image

0 commit comments

Comments
 (0)