mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Don't run the JVM crash test on windows (#110194)
This commit is contained in:
parent
5eae642259
commit
c752fbab35
2 changed files with 7 additions and 3 deletions
|
@ -73,9 +73,6 @@ tests:
|
|||
- class: org.elasticsearch.xpack.transform.transforms.TransformIndexerTests
|
||||
method: testMaxPageSearchSizeIsResetToConfiguredValue
|
||||
issue: https://github.com/elastic/elasticsearch/issues/109844
|
||||
- class: "org.elasticsearch.test.jvm_crash.JvmCrashIT"
|
||||
issue: "https://github.com/elastic/elasticsearch/issues/110052"
|
||||
method: "testJvmCrash"
|
||||
|
||||
# Examples:
|
||||
#
|
||||
|
|
|
@ -22,9 +22,11 @@ import org.elasticsearch.test.cluster.local.distribution.DistributionType;
|
|||
import org.elasticsearch.test.cluster.local.distribution.LocalDistributionResolver;
|
||||
import org.elasticsearch.test.cluster.local.distribution.ReleasedDistributionResolver;
|
||||
import org.elasticsearch.test.cluster.local.distribution.SnapshotDistributionResolver;
|
||||
import org.elasticsearch.test.cluster.util.OS;
|
||||
import org.elasticsearch.test.rest.ESRestTestCase;
|
||||
import org.hamcrest.Matcher;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.ClassRule;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
|
@ -46,6 +48,11 @@ import static org.hamcrest.Matchers.not;
|
|||
|
||||
public class JvmCrashIT extends ESRestTestCase {
|
||||
|
||||
@BeforeClass
|
||||
public static void dontRunWindows() {
|
||||
assumeFalse("JVM crash log doesn't go to stdout on windows", OS.current() == OS.WINDOWS);
|
||||
}
|
||||
|
||||
private static class StdOutCatchingClusterBuilder extends AbstractLocalClusterSpecBuilder<ElasticsearchCluster> {
|
||||
|
||||
private StdOutCatchingClusterBuilder() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue