Skip to content

Commit

Permalink
Fix test setting the wrong url
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <igarcia@suse.com>
  • Loading branch information
Itxaka committed Jul 13, 2022
1 parent f07f019 commit 5c9e9eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added tests/e2e/e2e.test
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func deployOperator(k *kubectl.Kubectl) {

// As we are not bootstrapping rancher in the tests (going to the first login page, setting new password and rancher-url)
// We need to manually set this value, which is the same value you would get from doing the bootstrap
err = k.ApplyYAML("", "server-url", catalog.NewSetting("server-url", "env", fmt.Sprintf("%s.%s", externalIP, magicDNS)))
err = k.ApplyYAML("", "server-url", catalog.NewSetting("server-url", "env", fmt.Sprintf("https://%s.%s", externalIP, magicDNS)))
Expect(err).ToNot(HaveOccurred())

})
Expand Down

0 comments on commit 5c9e9eb

Please sign in to comment.