Skip to content

Commit 30582e8

Browse files
Merge pull request #421 from wking/distinguish-single-upgradeable-test-cases
pkg/cvo/cvo_test: Distinguish names for the "single clusteroperator" cases
2 parents e49df43 + 6c75017 commit 30582e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/cvo/cvo_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,7 +2741,7 @@ func TestOperator_upgradeableSync(t *testing.T) {
27412741
},
27422742
},
27432743
{
2744-
name: "report error condition when single clusteroperator is not upgradeable",
2744+
name: "report error condition when the single clusteroperator is not upgradeable",
27452745
optr: Operator{
27462746
defaultUpstreamServer: "http://localhost:8080/graph",
27472747
releaseVersion: "v4.0.0",
@@ -2788,7 +2788,7 @@ func TestOperator_upgradeableSync(t *testing.T) {
27882788
},
27892789
},
27902790
{
2791-
name: "report error condition when single clusteroperator is not upgradeable",
2791+
name: "report error condition when single clusteroperator is not upgradeable and another has no conditions",
27922792
optr: Operator{
27932793
defaultUpstreamServer: "http://localhost:8080/graph",
27942794
releaseVersion: "v4.0.0",
@@ -2843,7 +2843,7 @@ func TestOperator_upgradeableSync(t *testing.T) {
28432843
},
28442844
},
28452845
{
2846-
name: "report error condition when single clusteroperator is not upgradeable",
2846+
name: "report error condition when single clusteroperator is not upgradeable and another is upgradeable",
28472847
optr: Operator{
28482848
defaultUpstreamServer: "http://localhost:8080/graph",
28492849
releaseVersion: "v4.0.0",

0 commit comments

Comments
 (0)