Correct the regex pattern for class path in testDieWithDignity() (#466)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
This commit is contained in:
parent
aeb0af0427
commit
503091ca6d
|
@ -67,9 +67,9 @@ public class DieWithDignityIT extends OpenSearchRestTestCase {
|
|||
try {
|
||||
while (it.hasNext() && (fatalError == false || fatalErrorInThreadExiting == false)) {
|
||||
final String line = it.next();
|
||||
if (line.matches(".*ERROR.*o\\.e\\.ExceptionsHelper.*javaRestTest-0.*fatal error.*")) {
|
||||
if (line.matches(".*ERROR.*o\\.o\\.ExceptionsHelper.*javaRestTest-0.*fatal error.*")) {
|
||||
fatalError = true;
|
||||
} else if (line.matches(".*ERROR.*o\\.e\\.b\\.OpenSearchUncaughtExceptionHandler.*javaRestTest-0.*"
|
||||
} else if (line.matches(".*ERROR.*o\\.o\\.b\\.OpenSearchUncaughtExceptionHandler.*javaRestTest-0.*"
|
||||
+ "fatal error in thread \\[Thread-\\d+\\], exiting.*")) {
|
||||
fatalErrorInThreadExiting = true;
|
||||
assertTrue(it.hasNext());
|
||||
|
|
Loading…
Reference in New Issue