rancher / qa-tasks

List of QA Backlog
1 stars 1 forks source link

Update test_deploy_rancher_server to use regex #997

Open igomez06 opened 11 months ago

igomez06 commented 11 months ago

The if statement in test_deploy_rancher_server uses hard coded values. It should be updated to use a regex, so we don't have to modify the check for every new release version.

igomez06 commented 11 months ago

Change also here: https://github.com/rancher/rancher/blob/ac63e3af7f8f78f31c0fc97417914a961ed2cab8/tests/validation/tests/v3_api/scripts/pipeline/Jenkinsfile_ontag_matrix#L241 and

https://github.com/rancher/rancher/blob/2e6895ddb220e9dbdeff3fe3a1b554f777e7c4bd/tests/validation/tests/v3_api/common.py#L2147