mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish
This commit is contained in:
parent
fe1c1edcd4
commit
0c65c41adf
@ -109,8 +109,7 @@ class ThreadDumpEndpointTests {
|
|||||||
(dump) -> assertThat(dump).contains(String.format("\t- waiting on <%s> (a java.lang.Object)",
|
(dump) -> assertThat(dump).contains(String.format("\t- waiting on <%s> (a java.lang.Object)",
|
||||||
hexIdentityHashCode(monitor))),
|
hexIdentityHashCode(monitor))),
|
||||||
(dump) -> assertThat(dump).contains(String.format(
|
(dump) -> assertThat(dump).contains(String.format(
|
||||||
"\t- parking to wait for <%s> (a java.lang.Object)",
|
"\t- parking to wait for <%s> (a java.lang.Object)", hexIdentityHashCode(monitor))))
|
||||||
hexIdentityHashCode(monitor))))
|
|
||||||
.containsPattern(
|
.containsPattern(
|
||||||
String.format("Locked ownable synchronizers:%n\t- Locked <[0-9a-z]+> \\(a %s\\$NonfairSync\\)",
|
String.format("Locked ownable synchronizers:%n\t- Locked <[0-9a-z]+> \\(a %s\\$NonfairSync\\)",
|
||||||
ReentrantReadWriteLock.class.getName().replace(".", "\\.")));
|
ReentrantReadWriteLock.class.getName().replace(".", "\\.")));
|
||||||
|
Loading…
Reference in New Issue
Block a user