mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 02:56:24 +05:00
Fix resourcesv1_it_test.go
This commit is contained in:
@@ -127,7 +127,7 @@ func testV1RsFromFolder(t *testing.T) {
|
||||
if err := rlsV1Rpc.Call("ApierV1.LoadTariffPlanFromFolder", attrs, &reply); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
time.Sleep(time.Duration(1000) * time.Millisecond)
|
||||
|
||||
}
|
||||
|
||||
func testV1RsGetResourcesForEvent(t *testing.T) {
|
||||
@@ -490,6 +490,7 @@ func testV1RsDBStore(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
time.Sleep(time.Duration(1) * time.Second)
|
||||
}
|
||||
|
||||
func testV1RsGetResourceProfileBeforeSet(t *testing.T) {
|
||||
@@ -591,7 +592,7 @@ func testV1RsGetResourceProfileAfterDelete(t *testing.T) {
|
||||
}
|
||||
|
||||
func testV1RsStopEngine(t *testing.T) {
|
||||
if err := engine.KillEngine(100); err != nil {
|
||||
if err := engine.KillEngine(resDelay); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user