Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kthomas committed Feb 15, 2024
1 parent a791cc1 commit 69ca202
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,6 @@ var _ = Describe("nex node", func() {
})

JustBeforeEach(func() {
cfg, _ := json.Marshal(nodeConfig)
_ = os.WriteFile(nodeOpts.ConfigFilepath, cfg, 0644)

_ = nexnode.CmdPreflight(opts, nodeOpts, ctxx, cancel, log)
node, _ = nexnode.NewNode(opts, nodeOpts, ctxx, cancel, log)
go node.Start()
Expand Down Expand Up @@ -473,7 +470,7 @@ var _ = Describe("nex node", func() {
})

It("should keep a reference to all running VMs", func(ctx SpecContext) {
Expect(len(managerProxy.VMs())).To(Equal(2))
Expect(len(managerProxy.VMs())).To(Equal(1))
})

It("should maintain the configured number of warm VMs in the pool", func(ctx SpecContext) {
Expand Down

0 comments on commit 69ca202

Please sign in to comment.