Skip to content

Commit 51d8436

Browse files
committed
Use a more general test name for COs
Originally, the test name contains the number of minutes as the limited time for CO to update. We have to go through the process/trouble [1] if we need to change the number. Here we use a more general test name to avoid it. [1]. https://github.com/openshift-eng/ci-test-mapping?tab=readme-ov-file#renaming-tests
1 parent 18eadc6 commit 51d8436

File tree

1 file changed

+1
-2
lines changed
  • pkg/monitortests/clusterversionoperator/clusterversionchecker

1 file changed

+1
-2
lines changed

pkg/monitortests/clusterversionoperator/clusterversionchecker/monitortest.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,11 @@ func (w *monitor) noFailingUnknownCondition(intervals monitorapi.Intervals) []*j
161161
if bzComponent == "Unknown" {
162162
bzComponent = coName
163163
}
164-
164+
name := fmt.Sprintf("[bz-%v] clusteroperator/%v must complete version change within limited time", bzComponent, coName)
165165
m := 30
166166
if coName == "machine-config" {
167167
m = 3 * m
168168
}
169-
name := fmt.Sprintf("[bz-%v] clusteroperator/%v must complete version change under %d minutes", bzComponent, coName, m)
170169
if !violations.Has(coName) {
171170
ret = append(ret, &junitapi.JUnitTestCase{
172171
Name: name,

0 commit comments

Comments
 (0)