mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
Test: Relax jarhell gradle test (#33787)
Gradle can sometimes emit mixed log lines due to how we spawn things in separate processes. This commit changes the jarhell integ test to only look for the exception and message, instead of including the outer part about the exception in thread main. closes #33774
This commit is contained in:
parent
805a12361f
commit
99513b306e
@ -34,7 +34,7 @@ public class JarHellTaskIT extends GradleIntegrationTestCase {
|
||||
assertTaskFailed(result, ":jarHell");
|
||||
assertOutputContains(
|
||||
result.getOutput(),
|
||||
"Exception in thread \"main\" java.lang.IllegalStateException: jar hell!",
|
||||
"java.lang.IllegalStateException: jar hell!",
|
||||
"class: org.apache.logging.log4j.Logger"
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user