forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run testsuites in defined order on Jenkins
Added one suite to rule all: RunAllJdtModelTestsTracing, to avoid (random) pattern-matching based test execution order in maven build. Additionally run all tests with TracingSuite (will log every test executed & create dumps if test hangs). See eclipse-jdt#2536
- Loading branch information
1 parent
73a5099
commit 2791d16
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...lipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/RunAllJdtModelTestsTracing.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 Andrey Loskutov ([email protected]) and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Andrey Loskutov ([email protected]) - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.jdt.core.tests; | ||
|
||
import org.eclipse.jdt.core.tests.dom.RunAllTests; | ||
import org.eclipse.jdt.core.tests.model.AllJavaModelTests; | ||
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({ RunFormatterTests.class, RunAllTests.class, AllJavaModelTests.class }) | ||
@TracingOptions(stackDumpTimeoutSeconds = 60) | ||
public class RunAllJdtModelTestsTracing { | ||
} |