Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-9934 | ci: fix failure of 70128 #729

Merged
merged 1 commit into from
Jul 26, 2024
Merged
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
5 changes: 3 additions & 2 deletions tests/e2e/kubelet_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var _ = Describe("Kubelet config", func() {
kcArgs = &exe.KubeletConfigArgs{
PodPidsLimit: helper.IntPointer(podPidsLimit),
Cluster: helper.StringPointer(clusterID),
KubeletConfigNumber: helper.IntPointer(2),
KubeletConfigNumber: helper.IntPointer(10),
NamePrefix: helper.StringPointer("kube-70128"),
}
_, err = kcService.Apply(kcArgs)
Expand All @@ -113,7 +113,8 @@ var _ = Describe("Kubelet config", func() {
Expect(len(kubeletconfigs)).To(Equal(*kcArgs.KubeletConfigNumber))
} else {
Expect(err).To(HaveOccurred())
Expect(err.Error()).Should(ContainSubstring("classic cluster can only have 1 kubeletconfig"))
Expect(err.Error()).Should(
MatchRegexp(`KubeletConfig for[\s\n\t]*cluster with ID '[0-9a-z]*' already exists`))
}
})

Expand Down
Loading