mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Switch to in-process agent
This commit is contained in:
@@ -169,8 +169,8 @@ func TestMonitor_Update_AllocModification(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMonitor_Monitor(t *testing.T) {
|
||||
srv, client, _ := testServer(t, nil)
|
||||
defer srv.Stop()
|
||||
srv, client, _ := testServer(t, false, nil)
|
||||
defer srv.Shutdown()
|
||||
|
||||
// Create the monitor
|
||||
ui := new(cli.MockUi)
|
||||
@@ -215,8 +215,8 @@ func TestMonitor_Monitor(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMonitor_MonitorWithPrefix(t *testing.T) {
|
||||
srv, client, _ := testServer(t, nil)
|
||||
defer srv.Stop()
|
||||
srv, client, _ := testServer(t, false, nil)
|
||||
defer srv.Shutdown()
|
||||
|
||||
// Create the monitor
|
||||
ui := new(cli.MockUi)
|
||||
|
||||
Reference in New Issue
Block a user