Browse Source

adds debug

pull/955/head
spencergibb 4 years ago
parent
commit
355d3cf5e2
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 1
      spring-cloud-context/src/test/java/org/springframework/cloud/util/random/CachedRandomPropertySourceTests.java

1
spring-cloud-context/src/test/java/org/springframework/cloud/util/random/CachedRandomPropertySourceTests.java

@ -66,6 +66,7 @@ public class CachedRandomPropertySourceTests { @@ -66,6 +66,7 @@ public class CachedRandomPropertySourceTests {
then(cachedRandomPropertySource.getProperty("cachedrandom.app.long")).isEqualTo(1234L);
then(cachedRandomPropertySource.getProperty("cachedrandom.foo.long")).isEqualTo(5678L);
System.err.println(output);
then(StringUtils.countOccurrencesOf(output.toString(), "No cached value found for key: app")).isEqualTo(1);
then(StringUtils.countOccurrencesOf(output.toString(),
"No random value found in cache for key: app and type: long, generating a new value")).isEqualTo(1);

Loading…
Cancel
Save