From 9470060e654adeb78c6cfe9810643f6bec893ee3 Mon Sep 17 00:00:00 2001 From: TeoV Date: Thu, 18 Jul 2019 12:53:34 +0300 Subject: [PATCH] Change time as we discuss ( time.Sleep(1)) --- engine/actions2_it_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/actions2_it_test.go b/engine/actions2_it_test.go index 365217ab2..5931dab2e 100644 --- a/engine/actions2_it_test.go +++ b/engine/actions2_it_test.go @@ -255,7 +255,7 @@ func testActionsUpdateBalance(t *testing.T) { } else if reply != utils.OK { t.Errorf("Calling ApierV1.ExecuteAction received: %s", reply) } - time.Sleep(10 * time.Millisecond) + time.Sleep(1) attrsEA2 := &utils.AttrExecuteAction{Tenant: attrsSetAccount.Tenant, Account: attrsSetAccount.Account, ActionsId: changeBlockerAction.ActionsId} if err := actsRPC.Call("ApierV1.ExecuteAction", attrsEA2, &reply); err != nil { t.Error("Got error on ApierV1.ExecuteAction: ", err.Error())