mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Reset flag after each test as well to avoid side effects
This commit is contained in:
parent
f30e29a4ad
commit
ae5b5be597
@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.boot.autoconfigure.reactor.core;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import reactor.core.publisher.Hooks;
|
||||
@ -39,6 +40,7 @@ class ReactorCoreAutoConfigurationTests {
|
||||
.withConfiguration(AutoConfigurations.of(ReactorCoreAutoConfiguration.class));
|
||||
|
||||
@BeforeEach
|
||||
@AfterEach
|
||||
void resetDebugFlag() {
|
||||
Hooks.resetOnOperatorDebug();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user