revised integration tests for ranking scheduling

This commit is contained in:
gezimbll
2024-12-06 09:05:36 +01:00
committed by Dan Christian Bogos
parent 08acc9d554
commit 1a9313be68
6 changed files with 310 additions and 5 deletions

View File

@@ -1716,6 +1716,7 @@ func testApierResetDataAfterLoadFromFolder(t *testing.T) {
expStats[utils.CacheReverseFilterIndexes].Items = 10
expStats[utils.CacheReverseFilterIndexes].Groups = 7
expStats[utils.CacheRankingProfiles].Items = 1
expStats[utils.CacheRankings].Items = 1
expStats[utils.CacheTrendProfiles].Items = 1
expStats[utils.CacheTrends].Items = 1

View File

@@ -178,6 +178,7 @@ func testCacheSAfterLoadFromFolder(t *testing.T) {
expStats[utils.CacheReverseFilterIndexes].Items = 10
expStats[utils.CacheReverseFilterIndexes].Groups = 7
expStats[utils.CacheRankingProfiles].Items = 1
expStats[utils.CacheRankings].Items = 1
expStats[utils.CacheTrendProfiles].Items = 1
expStats[utils.CacheTrends].Items = 1
@@ -249,6 +250,7 @@ func testCacheSReload(t *testing.T) {
expStats[utils.CacheReverseFilterIndexes].Items = 10
expStats[utils.CacheReverseFilterIndexes].Groups = 7
expStats[utils.CacheRankingProfiles].Items = 1
expStats[utils.CacheRankings].Items = 1
expStats[utils.CacheTrends].Items = 1
expStats[utils.CacheTrendProfiles].Items = 1