Commit Graph

155 Commits

Author SHA1 Message Date
ionutboangiu
b5362f89ef Optimize and fix unstable tests
Revise backup loop tests to not rely on time.Sleep anymore and remove
unused fields from them.

Optimize some analyzers tests.
2024-09-25 20:58:51 +02:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
arberkatellari
9b5f594402 Add coverage tests for engine 2023-05-10 10:40:29 +02:00
arberkatellari
016c60dd8c Add coverage tests for engine 2023-03-19 20:47:45 +01:00
arberkatellari
75f698db33 Add/Improve coverage tests in engine 2023-03-19 20:47:45 +01:00
arberkatellari
6fbf001116 Add and improve coverage tests 2023-02-27 09:14:19 +01:00
arberkatellari
4d87265139 coverage tests for engine 2023-01-07 17:50:40 +01:00
arberkatellari
018f53977d Coverage tests at engine 2023-01-07 17:50:40 +01:00
adi
fe3d34639a Fixed tests of cache 2022-09-19 16:39:47 +02:00
ionutboangiu
e98f230f04 Change type name from Blockers to DynamicBlockers 2022-05-10 17:05:31 +02:00
porosnicuadrian
cea929269a Blockers for account/balance + tp/cfgs and tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
d3580092ed Improved stats 2022-05-06 17:00:30 +02:00
porosnicuadrian
5537e8993d Improved stats + tests 2022-05-06 17:00:30 +02:00
porosnicuadrian
41a7ee8add DynamicBlocker for stats + unit test 2022-04-27 17:49:14 +02:00
porosnicuadrian
bb41017266 Improved stats + tests 2022-04-12 10:40:39 +03:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
09e44a0e6b Stat has Weights in DynamicWeights now 2022-02-06 09:52:26 +01:00
porosnicuadrian
2be78a74c1 Added exporting to prometheus to stats 2022-01-03 12:25:42 +01:00
ionutboangiu
b55dc3d3a8 Fix tests after updating loggers 2021-12-19 17:12:47 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
Trial97
6fe79e016e Added *roundingDecimals for GetQueueStringMetrics API 2021-11-08 17:03:58 +02:00
Trial97
493ff3cd4c Added stats API for Decimal 2021-11-08 17:03:58 +02:00
Trial97
fe7f07b987 Updated meterics interface 2021-11-08 17:03:58 +02:00
Trial97
117f6ccb9b Updated Stats with decimal 2021-11-08 17:03:58 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
2af41dd937 Tests for ProfileIgnoreFilters in actions and engine for stats 2021-10-22 12:04:12 +03:00
ionutboangiu
8e2fa41705 Fix failing tests after merge 2021-10-19 09:18:36 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
andronache
4068eec821 Cover test for error case in stats 2021-10-18 18:03:13 +03:00
andronache
c714444c14 2021-10-18 18:03:13 +03:00
andronache
d1ef08cff1 Test for the Profile Ignore Filters opt for attributes in engine, also changed some values in stats test 2021-10-18 10:38:22 +03:00
andronache
66bd5bfebe Test for the Profile Ignore Filters opt in stats 2021-10-18 10:38:22 +03:00
Trial97
c1ee04a794 Added *profileIgnoreFilters for stats and thresholds 2021-10-11 12:06:57 +03:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
4f98739202 Add statIDs as opt for Stats 2021-09-22 18:08:17 +02:00
ionutboangiu
11aecbd22f Add opts field in config for thresholds 2021-09-19 12:13:38 +02:00
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
ionutboangiu
b3828af133 Fix tests final 2021-08-24 20:22:47 +02:00
ionutboangiu
675462e6e0 Fix tests 2021-08-24 20:22:47 +02:00
ionutboangiu
9bbc5aebc4 Test functions from engine/stats.go final 2021-08-24 20:22:47 +02:00
ionutboangiu
00186d71ff Test funcs from engine/stats.go 2021-08-24 20:22:47 +02:00
ionutboangiu
01daf0ddf7 Fix tests 2021-08-18 18:05:59 +02:00
ionutboangiu
bf4f07e3f0 Cover funcs from engine/stats.go 2021-08-18 18:05:59 +02:00
ionutboangiu
2d23388fb2 Test functions from engine/stats.go 2021-08-18 14:41:13 +02:00
ionutboangiu
6222a98baf Test functions from engine/stats.go 2021-08-18 14:41:13 +02:00
ionutboangiu
f583984cb5 Fix tests 2021-08-18 14:41:13 +02:00
ionutboangiu
bad3df0dd6 Test functions from engine/stats.go 2021-08-18 14:41:13 +02:00