Skip to content

Commit

Permalink
Use the env var for back machines
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Aug 25, 2018
1 parent 8f1c6e5 commit 02b088d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dkron/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func Test_processFilteredNodes(t *testing.T) {
c.Server = true
c.LogLevel = logLevel
c.Tags = map[string]string{"role": "test"}
//c.BackendMachines = []string{os.Getenv("DKRON_BACKEND_MACHINE")}
c.BackendMachines = []string{os.Getenv("DKRON_BACKEND_MACHINE")}

a1 := NewAgent(c, nil)
a1.Start()
Expand All @@ -147,7 +147,7 @@ func Test_processFilteredNodes(t *testing.T) {
c.Server = true
c.LogLevel = logLevel
c.Tags = map[string]string{"role": "test"}
//c.BackendMachines = []string{os.Getenv("DKRON_BACKEND_MACHINE")}
c.BackendMachines = []string{os.Getenv("DKRON_BACKEND_MACHINE")}

a2 := NewAgent(c, nil)
a2.Start()
Expand Down

0 comments on commit 02b088d

Please sign in to comment.