-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the format of output for OCP-13022 (#3730)
* fix the format of output * fix output match regex * Update regex * update align * Update match * fix regrex
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,10 +45,10 @@ Feature: Node components upgrade tests | |
When I run commands on the host: | ||
| cat /etc/kubernetes/kubelet.conf | | ||
Then the step should succeed | ||
And the output should contain: | ||
| "imageMinimumGCAge": "5m0s" | | ||
| "imageGCHighThresholdPercent": 80 | | ||
| "maxPods": 240 | | ||
And the output should match: | ||
| "?imageMinimumGCAge"?: "?5m0s"? | | ||
| "?imageGCHighThresholdPercent"?: 80 | | ||
| "?maxPods"?: 240 | | ||
|
||
# @author [email protected] | ||
# @case_id OCP-13022 | ||
|
@@ -76,7 +76,8 @@ Feature: Node components upgrade tests | |
When I run commands on the host: | ||
| cat /etc/kubernetes/kubelet.conf | | ||
Then the step should succeed | ||
And the output should contain: | ||
| "imageMinimumGCAge": "5m0s" | | ||
| "imageGCHighThresholdPercent": 80 | | ||
| "maxPods": 240 | | ||
And the output should match: | ||
| "?imageMinimumGCAge"?: "?5m0s"? | | ||
| "?imageGCHighThresholdPercent"?: 80 | | ||
| "?maxPods"?: 240 | | ||
|