fixes in integration test

This commit is contained in:
gezimbll
2024-02-26 04:09:51 -05:00
committed by Dan Christian Bogos
parent 02195c47ed
commit 0c99cf1df5
2 changed files with 2 additions and 2 deletions

View File

@@ -998,7 +998,7 @@ func testSSv1ItDynamicDebit(t *testing.T) {
} else if len(aSessions) != 3 {
t.Errorf("wrong active sessions: %+v , %s ", len(aSessions), utils.ToJSON(aSessions))
}
time.Sleep(time.Millisecond)
time.Sleep(3 * time.Millisecond)
eAcntVal -= float64(time.Millisecond) * 30 * 2 // 2 session
if err := sSApierRpc.Call(context.Background(), utils.APIerSv2GetAccount, attrs, &acnt); err != nil {
t.Error(err)

View File

@@ -484,7 +484,7 @@ func testV2CDRsSetStats(t *testing.T) {
Blocker: true,
Stored: true,
Weight: 20,
MinItems: 0,
MinItems: 1,
},
}
var result string