diff options
author | Markus Keller | 2017-04-17 16:10:39 +0000 |
---|---|---|
committer | Markus Keller | 2017-04-17 16:10:39 +0000 |
commit | 19857c5d65a5d971d4c102b369a8f8fb88c55e41 (patch) | |
tree | 234b287eee4bdd2661530c96ae80c09683a33004 | |
parent | 1811256ff585fd3d8c90d55266603a0f1817cc06 (diff) | |
download | eclipse.jdt.core-19857c5d65a5d971d4c102b369a8f8fb88c55e41.tar.gz eclipse.jdt.core-19857c5d65a5d971d4c102b369a8f8fb88c55e41.tar.xz eclipse.jdt.core-19857c5d65a5d971d4c102b369a8f8fb88c55e41.zip |
Bug 515274: JDT Core test freezes in Gerrit Hudson jobI20170419-2000I20170419-0430I20170419-0130I20170418-2000I20170417-2000
only add tracing in tycho-surefire test runs
Change-Id: I43d5fe63eef484a93924ddc94c96089d7c308324
3 files changed, 46 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core.tests.model/pom.xml b/org.eclipse.jdt.core.tests.model/pom.xml index 142b05b523..6f5139f8c2 100644 --- a/org.eclipse.jdt.core.tests.model/pom.xml +++ b/org.eclipse.jdt.core.tests.model/pom.xml @@ -37,8 +37,8 @@ <configuration> <argLine>-Djdt.default.test.compliance=1.8</argLine> <includes> - <include>org/eclipse/jdt/core/tests/model/AllJavaModelTests.class</include> - <include>org/eclipse/jdt/core/tests/dom/RunAllTests.class</include> + <include>org/eclipse/jdt/core/tests/model/AllJavaModelTestsTracing.class</include> + <include>org/eclipse/jdt/core/tests/dom/RunAllTestsTracing.class</include> <include>org/eclipse/jdt/core/tests/RunFormatterTests.class</include> </includes> </configuration> diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/RunAllTestsTracing.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/RunAllTestsTracing.java new file mode 100644 index 0000000000..2aa6412fe7 --- /dev/null +++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/dom/RunAllTestsTracing.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2017 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.jdt.core.tests.dom; + +import org.eclipse.test.TracingSuite; +import org.eclipse.test.TracingSuite.TracingOptions; +import org.junit.runner.RunWith; +import org.junit.runners.Suite.SuiteClasses; + +@RunWith(TracingSuite.class) +@SuiteClasses(RunAllTests.class) +@TracingOptions(stackDumpTimeoutSeconds = 60) +public class RunAllTestsTracing { +} diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AllJavaModelTestsTracing.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AllJavaModelTestsTracing.java new file mode 100644 index 0000000000..8f3bfdac9a --- /dev/null +++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AllJavaModelTestsTracing.java @@ -0,0 +1,22 @@ +/******************************************************************************* + * Copyright (c) 2017 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.jdt.core.tests.model; + +import org.eclipse.test.TracingSuite; +import org.eclipse.test.TracingSuite.TracingOptions; +import org.junit.runner.RunWith; +import org.junit.runners.Suite.SuiteClasses; + +@RunWith(TracingSuite.class) +@SuiteClasses(AllJavaModelTests.class) +@TracingOptions(stackDumpTimeoutSeconds = 60) +public class AllJavaModelTestsTracing { +} |