mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
more time for the scheduler
This commit is contained in:
@@ -120,7 +120,7 @@ TOPUP10_AT,TOPUP10_AC1,ASAP,10`
|
||||
|
||||
func TestExecuteActions(t *testing.T) {
|
||||
scheduler.NewScheduler().LoadActionTimings(acntDb)
|
||||
time.Sleep(time.Duration(100) * time.Microsecond) // Give time to scheduler to topup the account
|
||||
time.Sleep(time.Millisecond) // Give time to scheduler to topup the account
|
||||
if acnt, err := acntDb.GetAccount("*out:cgrates.org:12345"); err != nil {
|
||||
t.Error(err)
|
||||
} else if len(acnt.BalanceMap) != 2 {
|
||||
|
||||
Reference in New Issue
Block a user