File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
spring-shell-core/src/test/java/org/springframework/shell/component/view/event Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
import org .junit .jupiter .api .AfterEach ;
23
23
import org .junit .jupiter .api .Test ;
24
+ import org .slf4j .Logger ;
25
+ import org .slf4j .LoggerFactory ;
24
26
import reactor .core .publisher .Flux ;
25
27
import reactor .core .publisher .Mono ;
26
28
import reactor .test .StepVerifier ;
34
36
35
37
class DefaultEventLoopTests {
36
38
39
+ private final static Logger log = LoggerFactory .getLogger (DefaultEventLoopTests .class );
37
40
private DefaultEventLoop loop ;
38
41
39
42
@ AfterEach
40
43
void clean () {
41
44
if (loop != null ) {
42
- loop .destroy ();
45
+ // TODO: gh898
46
+ try {
47
+ loop .destroy ();
48
+ } catch (Exception e ) {
49
+ log .error ("Error calling loop destroy" , e );
50
+ }
43
51
}
44
52
loop = null ;
45
53
}
You can’t perform that action at this time.
0 commit comments