AbstractPlaySampleIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Re-enable Play/Scala tests on Java 9+ (#5593)

Almost all Play/Scala tests were ignored on Java 9/10, which makes it lack coverage. This PR does:

- Update Scala version to Java9-compatible version according to [JDK compatibility](https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html).

- Update default Play version to latest 2.6.15, which supports Java 9/10

- Adjust corresponding samples. Previous default Play version 2.3.10 was too old (release at 2014).

- Ignored the tests which can't work on Java 9+.

- Separate Play test resources with different versions. For example, Play 2.6 uses `build.gradle` and `Play 2.4/2.5` uses `build.gradle.old`.

- Previously `AbstractMultiVersionPlayContinuousBuildIntegrationTest` didn't have `targetPlatform` configuration, which made multi-version tests meaningless

- Fix `play-logback` configuration for `2.5.18`.

    • -0
    • +5
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 170 more files in changeset.
Apply repository mirroring to more sample tests

Also introduces a mirror for JBoss repository

    • -0
    • +2
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 32 more files in changeset.
Refactor non-continuous build PlayRun to move deployments to the end of the build

    • -1
    • +1
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 21 more files in changeset.
Make tests using play.test.WithBrowser wait for port 19001 to be free

This should fix flakiness of

'UserGuidePlaySamplesIntegrationTest.compiler sample is buildable'

    • -0
    • +21
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 1 more file in changeset.
Removed TestPrecondition.JDK7_OR_LATER

    • -3
    • +1
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 39 more files in changeset.
Changing Play and SFTP integration tests to dynamically assign ports at bind time.

+review REVIEW-5579

    • -13
    • +8
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 15 more files in changeset.
Removing withStdIn from GradleExecuter preferring withStdinPipe

+review REVIEW-5573

    • -11
    • +2
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 9 more files in changeset.
Refactoring port allocation to use fixed ranges based on test workers

+review REVIEW-5579

    • -2
    • +2
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 22 more files in changeset.
First stab at a multicast port allocator test fixture

+review REVIEW-5579

    • -3
    • +7
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 28 more files in changeset.
Fixing issue with change from milliseconds to seconds in URLvalidator

+review REVIEW-5510

    • -2
    • +2
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 4 more files in changeset.
Refactoring Play integration tests to align more with capabilities being tested rather than type of project.

    • -0
    • +100
    ./AbstractPlaySampleIntegrationTest.groovy
  1. … 32 more files in changeset.