Long duration of CircleCI builds
raman-m opened this issue · comments
Expected Behavior
It would be good if build will take no more than 5-6 minutes, less is better.
Actual Behavior
Success CircleCI build takes around 12-13 minutes.
The old duration in 2023 for 19.x releases was around 2 minutes only!!! After migration to .NET 8 the duration had increased to ~6 minutes because of 3 SDKs builds. We need to decrease build time down to 6 minutes, but it is better to parallelize the build and decrease overall build time down to 2-3 minutes.
Long lasting Unit tests, >10 sec
- Ocelot.UnitTests.Polly namespace: total 28s
- Ocelot.UnitTests.Requester namespace: total 16.5s
Long lasting Integration tests, >10 sec
- AdministrationTests class: total 11.5s
Long lasting Acceptance tests, >10 sec
- Ocelot.AcceptanceTests.Request namespace: total 11.2s
- HttpTests class: total 10.8s
- EurekaServiceDiscoveryTests class: total 26.3s ❗
- PollyQoSTests class: total 1.8 min❗❗
Specifications
- Version: 23.2.2
- Subsystem: CircleCI
TODO
- Part 1. Done! ✔️ commit 59b63ea
- Part 2. See more in #2045 (comment)
- Remove BDDfy from unit tests. In favor of AAA-pattern with xUnit. Optional, but very desired...