Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.5.6
github.com/google/uuid v1.2.0
github.com/openshift/api v0.0.0-20221207195358-a671aa80d995
github.com/openshift/api v0.0.0-20230106230226-5ad311dde226
github.com/openshift/client-go v0.0.0-20220915152853-9dfefb19db2e
github.com/openshift/library-go v0.0.0-20221012165547-f859132ee700
github.com/operator-framework/api v0.17.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY=
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
github.com/openshift/api v0.0.0-20221207195358-a671aa80d995 h1:pPxxrUWeT7mB/ujSfQ7jkfdjFCgjcnsP/uTRU5FcCpk=
github.com/openshift/api v0.0.0-20221207195358-a671aa80d995/go.mod h1:OW9hi5XDXOQWm/kRqUww6RVxZSf0nqrS4heerSmHBC4=
github.com/openshift/api v0.0.0-20230106230226-5ad311dde226 h1:3rIQjfVsJFmPPKWMewfBQrazCGdVLuNOepDdfSGsPnA=
github.com/openshift/api v0.0.0-20230106230226-5ad311dde226/go.mod h1:OW9hi5XDXOQWm/kRqUww6RVxZSf0nqrS4heerSmHBC4=
github.com/openshift/client-go v0.0.0-20220915152853-9dfefb19db2e h1:ab+BJg7h50pi2/rbMkDSXfYx8w80HLmr7NBs8H1hEvU=
github.com/openshift/client-go v0.0.0-20220915152853-9dfefb19db2e/go.mod h1:e+TTiBDGWB3O3p3iAzl054x3cZDWhrZ5+jxJRCdEFkA=
github.com/openshift/library-go v0.0.0-20221012165547-f859132ee700 h1:oMpH9KrXW4taP3OGgofy7tLOHc6I14B5uplnqJ6vr8c=
Expand Down
6 changes: 6 additions & 0 deletions lib/capability/capability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
wantEnabledKeys: []string{},
},
Expand All @@ -62,6 +63,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
wantEnabledKeys: []string{
string(configv1.ClusterVersionCapabilityBaremetal),
Expand All @@ -86,6 +88,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
wantEnabledKeys: []string{
string(configv1.ClusterVersionCapabilityBaremetal),
Expand All @@ -95,6 +98,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
},
{name: "set capabilities None with additional",
Expand All @@ -114,6 +118,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
wantEnabledKeys: []string{"cap1", "cap2", "cap3"},
},
Expand All @@ -134,6 +139,7 @@ func TestSetCapabilities(t *testing.T) {
string(configv1.ClusterVersionCapabilityInsights),
string(configv1.ClusterVersionCapabilityStorage),
string(configv1.ClusterVersionCapabilityCSISnapshot),
string(configv1.ClusterVersionCapabilityNodeTuning),
},
wantEnabledKeys: []string{
string(configv1.ClusterVersionCapabilityBaremetal),
Expand Down
236 changes: 118 additions & 118 deletions pkg/cvo/cvo_scenarios_test.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading