mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated general tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
ae6060be54
commit
ac6afdbdc7
@@ -1,5 +1,5 @@
|
||||
#Tenant[0],Id[1],FilterIDs[2],ActivationInterval[3],QueueLength[4],TTL[5],MinItems[6],Metrics[7],MetricFilterIDs[8],Stored[9],Blocker[10],Weight[11],ThresholdIDs[12]
|
||||
cgrates.org,Stat_1,FLTR_STAT_1,2014-07-29T15:00:00Z,100,1s,0,*acd;*tcd;*asr,,false,true,30,*none
|
||||
cgrates.org,Stat_1,FLTR_STAT_1,2014-07-29T15:00:00Z,100,10s,0,*acd;*tcd;*asr,,false,true,30,*none
|
||||
cgrates.org,Stat_1_1,FLTR_STAT_1_1,2014-07-29T15:00:00Z,100,1s,0,*acd;*tcd;*pdd,,false,true,30,*none
|
||||
cgrates.org,Stat_2,FLTR_STAT_2,2014-07-29T15:00:00Z,100,1s,0,*acd;*tcd;*asr,,false,true,30,*none
|
||||
cgrates.org,Stat_3,FLTR_STAT_3,2014-07-29T15:00:00Z,100,1s,0,*acd;*tcd;*asr,,false,true,30,*none
|
||||
|
||||
|
@@ -133,7 +133,7 @@ func testTutSMGCacheStats(t *testing.T) {
|
||||
// expectedStats := &utils.CacheStats{Destinations: 5, ReverseDestinations: 7, RatingPlans: 4, RatingProfiles: 5,
|
||||
// Actions: 9, ActionPlans: 4, AccountActionPlans: 5, SharedGroups: 1, ResourceProfiles: 3,
|
||||
// Resources: 3, StatQueues: 1, StatQueueProfiles: 1, Thresholds: 7, ThresholdProfiles: 7, Filters: 15,
|
||||
// SupplierProfiles: 3, AttributeProfiles: 1}
|
||||
// SupplierProfiles: 3, AttributeProfiles: 2}
|
||||
var rcvStats map[string]*ltcache.CacheStats
|
||||
expectedStats := engine.GetDefaultEmptyCacheStats()
|
||||
expectedStats[utils.CacheDestinations].Items = 5
|
||||
@@ -152,7 +152,7 @@ func testTutSMGCacheStats(t *testing.T) {
|
||||
expectedStats[utils.CacheThresholdProfiles].Items = 7
|
||||
expectedStats[utils.CacheFilters].Items = 15
|
||||
expectedStats[utils.CacheSupplierProfiles].Items = 3
|
||||
expectedStats[utils.CacheAttributeProfiles].Items = 1
|
||||
expectedStats[utils.CacheAttributeProfiles].Items = 2
|
||||
expectedStats[utils.MetaDefault].Items = 1
|
||||
expectedStats[utils.CacheActionTriggers].Items = 1
|
||||
expectedStats[utils.CacheLoadIDs].Items = 20
|
||||
|
||||
Reference in New Issue
Block a user