diff --git a/apier/tutfscsv_local_test.go b/apier/tutfscsv_local_test.go index 58db9ed8b..16bc16579 100644 --- a/apier/tutfscsv_local_test.go +++ b/apier/tutfscsv_local_test.go @@ -152,6 +152,7 @@ func TestFsCsvLoadTariffPlans(t *testing.T) { } else if reply != "OK" { t.Error("Calling ApierV1.LoadTariffPlanFromFolder got reply: ", reply) } + time.Sleep(100 * time.Millisecond) // Give time for scheduler to execute topups var rcvStats *utils.CacheStats expectedStats := &utils.CacheStats{Destinations: 3, RatingPlans: 1, RatingProfiles: 1, Actions: 2} var args utils.AttrCacheStats diff --git a/data/tariffplans/prepaid1centpsec/Actions.csv b/data/tariffplans/prepaid1centpsec/Actions.csv index 0aa5146c1..6f64185f1 100644 --- a/data/tariffplans/prepaid1centpsec/Actions.csv +++ b/data/tariffplans/prepaid1centpsec/Actions.csv @@ -1,3 +1,3 @@ #ActionsTag,Action,BalanceType,Direction,Units,ExpiryTime,DestinationTag,RatingSubject,BalanceWeight,SharedGroup,ExtraParameters,Weight PREPAID_10,*topup_reset,*monetary,*out,10,*unlimited,*any,,10,,,10 -BONUS_1,*topup,*monetary,*out,1,*unlimited,*any,,,10,,10 +BONUS_1,*topup,*monetary,*out,1,*unlimited,*any,,10,,,10