mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fix tariffplan data and sleep in tutfscsv_local_test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user