Skip to content
Success

Changes

Summary

  1. Change bintray download url from HTTP to HTTPS (details)
  2. Fix potential race condition in UiSessionInitAndDisposeTest (details)
  3. Mark slow and resource intensive tests with a JUnit test category (details)
  4. Add maven property scout.excludeTestCategories (details)
  5. Fix ProcessingExceptionTest (details)
Commit 5796c2c739b3ead331710b751a02f3d65eff4532 by Andi Bur
Change bintray download url from HTTP to HTTPS

Change-Id: Ib17394d65bf724ae3437ca54661a35abf76d4d52
(cherry picked from commit ff7568b9ccdeba5db7ff04f93e9453a2460f80dc)
Reviewed-on: https://git.eclipse.org/r/158334
Tested-by: CI Bot
Reviewed-by: Andi Bur <andi.bur@gmail.com>
The file was modified org.eclipse.scout.rt/pom.xml (diff)
Commit 6afa53bc82456d3d9f1910ecae366a4b7e1b7f48 by Beat Schwarzentrub
Fix potential race condition in UiSessionInitAndDisposeTest

Add missing waitForCondition to make sure the protocol entries are
written in deterministic order.

Change-Id: Ieb14a4e3398ee513a337cbd2c01110d66443225a
The file was modified org.eclipse.scout.rt.ui.html.test/src/test/java/org/eclipse/scout/rt/ui/html/UiSessionInitAndDisposeTest.java (diff)
Commit d56edb4da22293ecc086a084f4fdbe62174986ee by Ralph Steiner
Mark slow and resource intensive tests with a JUnit test category

Mark JobManagerLoadTest as a resource intensive test as it requires up
to 25k native threads.
Mark tests which require more than five seconds to be executed as slow
tests.

Change-Id: I45773bd89763b98d195753b915768d57a217533e
Reviewed-on: https://git.eclipse.org/r/161036
Tested-by: CI Bot
Reviewed-by: Beat Schwarzentrub <bsh@bsiag.com>
The file was modified org.eclipse.scout.rt.mom.jms.test/src/test/java/org/eclipse/scout/rt/mom/jms/JmsMomImplementorTest.java (diff)
The file was addedorg.eclipse.scout.rt.platform.test/src/main/java/org/eclipse/scout/rt/testing/platform/testcategory/ITestCategory.java
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/internal/ExecutionSemaphoreTest.java (diff)
The file was addedorg.eclipse.scout.rt.platform.test/src/main/java/org/eclipse/scout/rt/testing/platform/testcategory/ResourceIntensiveTest.java
The file was addedorg.eclipse.scout.rt.platform.test/src/main/java/org/eclipse/scout/rt/testing/platform/testcategory/SlowTest.java
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/internal/SerialFutureExecutionTest.java (diff)
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/JobManagerLoadTest.java (diff)
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/ScheduleAtFixedRateTest.java (diff)
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/JobFutureTaskTest.java (diff)
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/job/ScheduleWithFixedDelayTest.java (diff)
Commit 13e51ed0d246b8e4dd1287b0fd777101b1537449 by Ralph Steiner
Add maven property scout.excludeTestCategories

Maven property scout.excludeTestCategories allows to set excluded JUnit
test categories.
This additional property is required as not all tests depend on
platform.test module and therefore test category class may not be
available. If a test category class is not available maven surefire
cannot load JUnit test category classes and will fail. In later surefire
releases this would generate only a warning.

In a future scout release these test categories will be replaced by
JUnit 5 tags and then the build may be simplified.

Change-Id: I1a9d245a30b86b2845296f080d8ca65882fd16d9
The file was modified org.eclipse.scout.rt.mom.jms.test/pom.xml (diff)
The file was modified org.eclipse.scout.rt/pom.xml (diff)
The file was modified org.eclipse.scout.rt.platform.test/pom.xml (diff)
Commit 1b5ba691a17b4cbc04450a6d3ef40b86a5bc3992 by Ralph Steiner
Fix ProcessingExceptionTest

JUnit might run a test method in chain. In such a call chain the
stacktrace has duplicated elements.

Change-Id: Ibaf10baaa6610ec42a8a83b0371907ce7e6dac5c
The file was modified org.eclipse.scout.rt.platform.test/src/test/java/org/eclipse/scout/rt/platform/exception/ProcessingExceptionTest.java (diff)