Switch to in-process agent

This commit is contained in:
Alex Dadgar
2017-07-20 21:07:32 -07:00
parent 57e34b66ea
commit da25a3d5ce
20 changed files with 64 additions and 83 deletions

View File

@@ -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)