Skip to content
Open
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: 4 additions & 1 deletion test/extended/csrapprover/csrapprover.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ var _ = g.Describe("[sig-cluster-lifecycle]", func() {
// we should not be able to reach the endpoint
curlOutput, err := pod.Exec(fmt.Sprintf("curl --connect-timeout 5 -k %s", internalAPI.String()))
o.Expect(err).To(o.HaveOccurred())
o.Expect(curlOutput).To(o.Or(o.ContainSubstring("Connection refused"), o.ContainSubstring("Connection timed out")))
o.Expect(curlOutput).To(o.Or(
o.ContainSubstring("Connection refused"),
o.ContainSubstring("Connection timed out"),
o.ContainSubstring("Could not connect to server")))
})

g.It("CSRs from machines that are not recognized by the cloud provider are not approved", func() {
Expand Down