Skip to content

Commit

Permalink
Fix: add missing SSL config to e2e setup
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman authored and iknite committed Feb 4, 2019
1 parent 145fa1c commit 9f2ee3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ func setupServer(id int, joinAddr string, tls bool, t *testing.T) (scope.TestF,
conf.DBPath = path + "data"
conf.RaftPath = path + "raft"
conf.PrivateKeyPath = fmt.Sprintf("%s/.ssh/id_ed25519", usr.HomeDir)
conf.SSLCertificate = fmt.Sprintf("%s/.ssh/server.crt", usr.HomeDir)
conf.SSLCertificateKey = fmt.Sprintf("%s/.ssh/server.key", usr.HomeDir)
conf.EnableProfiling = true
conf.EnableTampering = true
conf.EnableTLS = tls
Expand Down

0 comments on commit 9f2ee3b

Please sign in to comment.