Fix concurrency error in test
This commit is contained in:
@@ -79,9 +79,9 @@ public class RefreshScopeConcurrencyTests {
|
||||
public String call() throws Exception {
|
||||
logger.debug("Background started.");
|
||||
try {
|
||||
latch.countDown();
|
||||
return service.getMessage();
|
||||
} finally {
|
||||
latch.countDown();
|
||||
logger.debug("Background done.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<include resource="org/springframework/boot/logging/logback/base.xml"/>
|
||||
<!-- logger name="org.springframework.boot" level="DEBUG"/-->
|
||||
<!-- logger name="org.springframework.platform" level="DEBUG"/-->
|
||||
<logger name="org.springframework" level="INFO"/>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user