Skip to content

Commit

Permalink
Fixed node test
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed May 30, 2015
1 parent e76fc5d commit 416c2cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ var _ = Describe("Aerospike", func() {
Expect(c).NotTo(BeNil())
Expect(c.IsConnected()).To(BeTrue())

node.InvalidateConnection(c)
// don't call invalidate here; we are testing node's connection queue behaviour
// if there are connections which are not invalidated
c.Close()
}

for i := 0; i < 4; i++ {
Expand Down

0 comments on commit 416c2cc

Please sign in to comment.