Files
cgrates/general_tests
ionutboangiu 5bf525d4c0 Revise failing integration tests from general_tests
The time it takes to register RPC methods is quite long and sometimes it is causing errors when methods that are not yet registered are being called. Therefore, the 'waitRater' default value has been increased from 100ms to 500ms.

For 'cdrs_onlexp_it_test.go':
- 2 functions have been added that create and delete the kafka topic relevant to the test. This ensures that the topic exists before export and also that it is deleted to avoid the data from within to influence subsequent tests;
- the maximum duration that we are waiting for the amqp messages to be consumed has been increased. Since it usually takes anywhere between 300ms and 1.9s to read a message, it has been increased to 2 seconds;
- amqp queues are now deleted once we are done verifying the exports.

For 'cdrs_post_failover_it_test.go', we now make sure that the failed posts directories exist and are empty before starting the engine.

For 'cdrs_processevent_it_test.go':
- some of the stat queue items were expiring too quickly, causing the test for fail sometimes. In order to solve the issue, I had to modify increase the TTL, but since the 'testit' tariff plan is also used by other tests, I decided to create the .csv files within the test, taking from 'testit' only the relevant information;
- same issue as in the previous test was occuring here. Was fixed in the same way;
- removed some useless calls.
2023-03-19 19:32:25 +01:00
..
2021-08-30 17:55:51 +03:00
2022-11-16 10:13:44 +01:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2020-01-30 10:21:48 +01:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2022-11-16 10:13:44 +01:00
2022-11-16 10:13:44 +01:00
2022-11-16 10:13:44 +01:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2020-01-30 10:21:48 +01:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2021-08-30 17:55:51 +03:00
2022-11-16 10:13:44 +01:00
2022-11-16 10:13:44 +01:00
2021-08-30 17:55:51 +03:00