Skip to content

Commit

Permalink
Move RunCompletionModelTests at the begin of the model tests
Browse files Browse the repository at this point in the history
Looks like either some tests mess up with environment or
CompletionModelTests don't properly set expected environment.
Let see if moving them at the begin confirms my observation.

Note: seems the test suite execution order in Jenkins is opposite to tycho test definition oderr?
  • Loading branch information
iloveeclipse committed Jun 24, 2024
1 parent 3be7fa1 commit eaea3ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions org.eclipse.jdt.core.tests.model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<configuration>
<argLine>-Xmx1G -Djdt.default.test.compliance=1.8 -DDetectVMInstallationsJob.disabled=true ${tycho.surefire.argLine}</argLine>
<includes>
<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>
<include>org/eclipse/jdt/core/tests/dom/RunAllTestsTracing.class</include>
<include>org/eclipse/jdt/core/tests/model/AllJavaModelTestsTracing.class</include>
</includes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ private static Class[] getAllTestClasses() {

// Enter each test here, grouping the tests that are related

// Support for completion tests
RunCompletionModelTests.class,

// Binding key tests
BindingKeyTests.class,

Expand Down Expand Up @@ -119,9 +122,6 @@ private static Class[] getAllTestClasses() {
ResolveTests21.class,
SelectionJavadocModelTests.class,

// Support for completion tests
RunCompletionModelTests.class,

// Prefix and suffix tests
NamingConventionTests.class,

Expand Down

0 comments on commit eaea3ad

Please sign in to comment.