Fix concurrency error in test

This commit is contained in:
Dave Syer
2014-06-27 12:26:55 +01:00
parent 95b7db0ac9
commit 841815abcc
2 changed files with 2 additions and 2 deletions

View File

@@ -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.");
}
}

View File

@@ -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>