Commit Graph

83 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
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
arberkatellari
6fbf001116 Add and improve coverage tests 2023-02-27 09:14:19 +01:00
arberkatellari
b50a0f97ea Coverage tests in engine 2023-01-13 16:28:10 +01:00
adi
fe3d34639a Fixed tests of cache 2022-09-19 16:39:47 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
485d275fc1 Use the Weights constant instead of Weight where needed 2022-04-29 20:33:51 +02: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
3432bbd853 Repaired tests 2022-02-08 19:08:45 +01:00
andronache98
fbd5ae7050 DynamicWeights for ThresholdProfile 2022-02-08 19:08:45 +01:00
Trial97
2601ff6163 Finished testing new methods 2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77 Added tests for all Set methods 2021-12-21 15:05:44 +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
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
1b7108eb7a Finished tests for ProfileIgnoreFilters option 2021-10-22 12:04:12 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +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
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +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
bec9add78c Test functions from engine/stats.go 2021-07-31 15:32:15 +02:00
ionutboangiu
16e81d8af4 Cover remaining functions from engine/thresholds.go 2021-07-31 15:32:15 +02:00
ionutboangiu
a47f5060a5 Test functions from engine/thresholds.go 2021-07-31 15:32:15 +02:00
ionutboangiu
07ade3dc45 Test functions from engine/thresholds.go 2021-07-31 15:32:15 +02:00
Trial97
697ec8cf50 Updated threshold caching 2021-07-29 08:40:51 +02:00
ionutboangiu
38725d0acc Cover funcs from engine/thresholds.go 2021-07-15 18:43:29 +02:00
Trial97
421c193f6a Removed unused RemoveKeysForPrefix 2021-06-08 12:04:47 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
Trial97
c58bb11a60 Updated tests 2021-05-26 15:54:36 +02:00
Trial97
fc1c7e8c79 Updated tests 2021-05-26 15:54:36 +02:00
Trial97
8cb40d7154 Added tests for thresholds and resources update 2021-05-26 15:54:36 +02:00
Trial97
e1b21983c4 Updated Threshold handling in datamanager 2021-05-26 15:54:36 +02:00
ionutboangiu
c8d69b882a Fix errors after adding the context parameters 2021-05-25 20:16:56 +02:00
ionutboangiu
7fe6723ded Fix failing tests after removal of ActivationInterval from Thresholds 2021-05-17 17:54:24 +02:00
ionutboangiu
563314ecb0 Remove ActivationInterval from Thresholds 2021-05-17 17:54:24 +02:00
porosnicuadrian
983f74f8a8 Clearing Cache when removing indexes 2021-05-10 10:36:03 +02:00
porosnicuadrian
18d2841670 Fixed tests by adding context 2021-05-10 10:36:03 +02:00
Trial97
1623d9f1da Updated cache reload 2021-05-07 20:01:52 +02:00
Trial97
ab00db1ad1 Updated unit tests 2021-03-30 20:49:53 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
root
dab5897a03 Tests in services 2021-02-16 16:26:44 +01:00
andronache
d6ca7aa0c7 Refactored thresholds.go in engine 2021-01-20 17:37:34 +01:00
TeoV
906baa051a Build success 2021-01-14 10:30:35 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00