Skip to content

Commit

Permalink
fix the format of output for OCP-13022 (#3730)
Browse files Browse the repository at this point in the history
* fix the format of output

* fix output match regex

* Update regex

* update align

* Update match

* fix regrex
  • Loading branch information
lyman9966 authored Jan 21, 2025
1 parent d4cd71b commit 363181e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions features/upgrade/node/node-upgrade.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 |

0 comments on commit 363181e

Please sign in to comment.