mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
enable server in test
This commit is contained in:
@@ -36,6 +36,7 @@ func TestAgent_ServerConfig(t *testing.T) {
|
||||
t.Parallel()
|
||||
conf := DefaultConfig()
|
||||
conf.DevMode = true // allow localhost for advertise addrs
|
||||
conf.Server.Enabled = true
|
||||
a := &Agent{config: conf}
|
||||
|
||||
conf.AdvertiseAddrs.Serf = "127.0.0.1:4000"
|
||||
|
||||
Reference in New Issue
Block a user