CircuitBreakerOpenException when running unit test

Solution 1:

This is not caused by the update, Quarkus 2.6.2.Final did not change anything regarding the fault tolerance stuff.

To facilitate negative testing, you can inject CircuitBreakerMaintenance and reset all circuit breakers in the application using resetAll (see https://smallrye.io/docs/smallrye-fault-tolerance/5.2.1/usage/extra.html#_circuit_breaker_maintenance).

Alternatively, there's a configuration property that disables all fault tolerance except fallbacks: MP_Fault_Tolerance_NonFallback_Enabled (see https://download.eclipse.org/microprofile/microprofile-fault-tolerance-3.0/microprofile-fault-tolerance-spec-3.0.html#_disable_a_group_of_fault_tolerance_annotations_on_the_global_level).