Skip to content

Commit

Permalink
unit test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jun 5, 2024
1 parent ad8a141 commit 83aa566
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/kotsadmsnapshot/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestPrepareIncludedNamespaces(t *testing.T) {
{
name: "embedded-cluster install",
namespaces: []string{"test", "abcapp"},
want: []string{"test", "abcapp", "embedded-cluster", "kube-system", "openebs", "registry"},
want: []string{"test", "abcapp", "embedded-cluster", "kube-system", "openebs", "registry", "seaweedfs"},
isEC: true,
},
}
Expand Down Expand Up @@ -674,6 +674,11 @@ func Test_instanceBackupLabelSelectors(t *testing.T) {
"app": "docker-registry",
},
},
{
MatchLabels: map[string]string{
"app.kubernetes.io/name": "seaweedfs",
},
},
},
},
}
Expand Down

0 comments on commit 83aa566

Please sign in to comment.