Skip to content

Commit

Permalink
[qe] fix check for condition for a starting cluster behind proxy
Browse files Browse the repository at this point in the history
A condition to ensure the state of the cluster after starting it behind a proxy was introduce in 4a9a35b that check is using a function which relies on the shell instance but that instance is not initialize anywhere as so the check is failing with an error showing shell instance is not initialize. This commit initialize the instance and now the check is working as expected

Signed-off-by: Adrian Riobo Lorenzo <ariobolo@redhat.com>
  • Loading branch information
adrianriobo authored and praveenkumar committed Apr 30, 2024
1 parent ec6cbfb commit e25a659
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/testsuite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ var _ = BeforeSuite(func() {
err = util.RemoveCRCConfig()
Expect(err).NotTo(HaveOccurred())

// start shell instance
err = util.StartHostShellInstance("")
Expect(err).NotTo(HaveOccurred())

// set credPath
credPath = filepath.Join(userHome, ".crc", "machines", "crc", "id_rsa")

Expand Down

0 comments on commit e25a659

Please sign in to comment.