mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
- made use of the test setup helpers. - used t.Cleanup instead of defer. - instead of waiting 50ms for the nats-server to start, used a helper hook to attempt connections in fibonacci intervals. On success it keeps a reference to the connection for later usage. - handle error for stream delete function executed during cleanup. - shorten time.Sleep durations when waiting for exports to finish. - extract the cache itemID checking logic into a separate func - retry failed requests in fibonacci intervals for up to 500ms
2.6 KiB
2.6 KiB