From b89d1ab2ceaafcea444cf2d55bccc589c93f5cee Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Mon, 12 Sep 2022 19:23:02 +0100 Subject: [PATCH] fix: Add another option to unknown host test output --- test/e2e/helmbundle/create_bundle_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/helmbundle/create_bundle_test.go b/test/e2e/helmbundle/create_bundle_test.go index 9e94177b..163a1244 100644 --- a/test/e2e/helmbundle/create_bundle_test.go +++ b/test/e2e/helmbundle/create_bundle_test.go @@ -50,7 +50,9 @@ var _ = Describe("Create Bundle", func() { err := cmd.Execute() Expect(err).To(HaveOccurred()) Expect(err.Error()).To( - MatchRegexp("dial tcp: lookup unknownchartrepository(?: on .+)?: no such host"), + MatchRegexp( + "dial tcp: lookup unknownchartrepository(?: on .+)?: (?:no such host|Temporary failure in name resolution)", + ), ) })