mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
updated tpreader to remove trend and ranking profiles with -remove flag
This commit is contained in:
committed by
Dan Christian Bogos
parent
9d1e2f9050
commit
799b85ca70
@@ -1671,7 +1671,7 @@ func testApierResetDataAfterLoadFromFolder(t *testing.T) {
|
||||
// expStats[utils.CacheActionPlans].Items = 7
|
||||
expStats[utils.CacheActions].Items = 5
|
||||
expStats[utils.CacheDestinations].Items = 3
|
||||
expStats[utils.CacheLoadIDs].Items = 19
|
||||
expStats[utils.CacheLoadIDs].Items = 20
|
||||
expStats[utils.CacheRPCConnections].Items = 2
|
||||
if err := rater.Call(context.Background(), utils.CacheSv1GetCacheStats, new(utils.AttrCacheIDsWithAPIOpts), &rcvStats); err != nil {
|
||||
t.Error("Got error on CacheSv1.GetCacheStats: ", err.Error())
|
||||
|
||||
@@ -133,7 +133,7 @@ func testCacheSAfterLoadFromFolder(t *testing.T) {
|
||||
expStats := engine.GetDefaultEmptyCacheStats()
|
||||
expStats[utils.CacheActions].Items = 5
|
||||
expStats[utils.CacheDestinations].Items = 3
|
||||
expStats[utils.CacheLoadIDs].Items = 19
|
||||
expStats[utils.CacheLoadIDs].Items = 20
|
||||
expStats[utils.CacheRPCConnections].Items = 2
|
||||
if err := chcRPC.Call(context.Background(), utils.CacheSv1GetCacheStats, &utils.AttrCacheIDsWithAPIOpts{}, &rcvStats); err != nil {
|
||||
t.Error("Got error on CacheSv1.GetCacheStats: ", err.Error())
|
||||
|
||||
Reference in New Issue
Block a user