Skip to content

Commit

Permalink
fix problems in client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrrr committed Sep 13, 2016
1 parent 55e7977 commit 45b5b14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ func TestClient_RPC_TLS(t *testing.T) {
conf := nomad.DefaultConfig()
conf.VerifyIncoming = true
conf.VerifyOutgoing = true
conf.CAFile = "../test/ca/root.cer"
conf.CertFile = "../test/key/client.cer"
conf.KeyFile = "../test/key/client.key"
tlsWrap, err := conf.TlsConfig().OutgoingTLSWrapper()
Expand Down Expand Up @@ -651,7 +652,7 @@ func TestClient_BlockedAllocations(t *testing.T) {

c1 := testClient(t, func(c *config.Config) {
c.RPCHandler = s1
})
}, nil)
defer c1.Shutdown()

// Wait for the node to be ready
Expand Down

0 comments on commit 45b5b14

Please sign in to comment.