Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shriram Sharma <[email protected]>
  • Loading branch information
shriramsharma committed Aug 19, 2024
1 parent d5fe911 commit 065aa5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions admiral/pkg/clusters/outlierdetection_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func TestHandleEventForOutlierDetection(t *testing.T) {
LabelSet: &common.LabelSet{
AdmiralCRDIdentityLabel: "assetAlias",
},
Profile: common.AdmiralProfileDefault,
}

common.ResetSync()
Expand Down
1 change: 1 addition & 0 deletions admiral/pkg/clusters/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ func TestInitAdmiralOperator(t *testing.T) {
AdmiralOperatorMode: true,
KubeconfigPath: dummyKubeConfig,
DependenciesNamespace: dependencyNamespace,
Profile: common.AdmiralProfileDefault,
},
assertFunc: func(rr *RemoteRegistry, t *testing.T) {
if rr == nil {
Expand Down
1 change: 1 addition & 0 deletions admiral/pkg/clusters/serviceentry_od_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func Test_updateGlobalOutlierDetectionCache(t *testing.T) {
LabelSet: &common.LabelSet{
AdmiralCRDIdentityLabel: "assetAlias",
},
Profile: common.AdmiralProfileDefault,
})

type args struct {
Expand Down

0 comments on commit 065aa5e

Please sign in to comment.