Skip to content

Commit

Permalink
Merge pull request #273 from dvonthenen/bug/connectiontest
Browse files Browse the repository at this point in the history
Fix failing go test in connection_test.go
  • Loading branch information
k8s-ci-robot authored Nov 7, 2019
2 parents 9753b10 + 791d29c commit 02c1334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/common/vclib/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestWithValidThumbprint(t *testing.T) {
func TestWithInvalidCaCertPath(t *testing.T) {
connection := &vclib.VSphereConnection{
Hostname: "should-not-matter",
Port: "should-not-matter",
Port: "27015", // doesn't matter, but has to be a valid port
CACert: "invalid-path",
}

Expand All @@ -174,7 +174,7 @@ func TestInvalidCaCert(t *testing.T) {

connection := &vclib.VSphereConnection{
Hostname: "should-not-matter",
Port: "should-not-matter",
Port: "27015", // doesn't matter, but has to be a valid port
CACert: fixtures.InvalidCertPath,
}

Expand Down

0 comments on commit 02c1334

Please sign in to comment.