Skip to content

Commit

Permalink
Merge pull request k0sproject#2544 from juanluisvaladas/fix-customdom…
Browse files Browse the repository at this point in the history
…ain-flaky

Fix the test custom-domain flakyness
  • Loading branch information
juanluisvaladas authored Dec 23, 2022
2 parents 70697fb + a81a212 commit e79910d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inttest/customdomain/customdomain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (s *CustomDomainSuite) TestK0sGetsUpWithCustomDomain() {
_, err = ssh.ExecWithOutput(s.Context(), "/usr/local/bin/k0s kc run nginx --image docker.io/nginx:1-alpine")
s.Require().NoError(err)
s.NoError(common.WaitForPod(s.Context(), kc, "nginx", "default"))
s.NoError(common.WaitForPodLogs(s.Context(), kc, "default"))
output, err := ssh.ExecWithOutput(s.Context(), "/usr/local/bin/k0s kc exec nginx -- cat /etc/resolv.conf")
s.Require().NoError(err)
s.Contains(output, "search default.svc.something.local svc.something.local something.local")
Expand Down

0 comments on commit e79910d

Please sign in to comment.