Skip to content

Commit

Permalink
fix: explicitly import eam/simulator in test
Browse files Browse the repository at this point in the history
The previous approach only worked because "go test" links both simulator and
simulator_test into the same binary.
  • Loading branch information
sigma committed Jun 8, 2021
1 parent c390623 commit d66ef55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eam/simulator/simulator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ import (
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/soap"
vim "github.com/vmware/govmomi/vim25/types"

// making sure the SDK endpoint is registered
_ "github.com/vmware/govmomi/eam/simulator"
)

const waitLoopMessage = `
Expand Down

0 comments on commit d66ef55

Please sign in to comment.