diff --git a/apier/v1/remote_it_test.go b/apier/v1/remote_it_test.go index 62563e1c9..13c962615 100644 --- a/apier/v1/remote_it_test.go +++ b/apier/v1/remote_it_test.go @@ -152,6 +152,7 @@ func testInternalRemoteITDataFlush(t *testing.T) { } func testInternalRemoteITStartEngine(t *testing.T) { + engine.KillEngine(100) if _, err := engine.StartEngine(engineOneCfgPath, 500); err != nil { t.Fatal(err) } diff --git a/apier/v1/thresholds_it_test.go b/apier/v1/thresholds_it_test.go index 88706e5f7..aaf0e47ab 100644 --- a/apier/v1/thresholds_it_test.go +++ b/apier/v1/thresholds_it_test.go @@ -170,7 +170,7 @@ var ( utils.PDD: time.Duration(0) * time.Second, utils.AnswerTime: time.Date(2013, 11, 7, 8, 42, 26, 0, time.UTC), utils.Usage: time.Duration(10) * time.Second, - utils.SUPPLIER: "SUPPL1", + utils.ROUTE: "SUPPL1", utils.COST: -1.0, }, },