Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Gradle plugin for running groups of tests with varied runtime requirements.

...

Code Block
def gui = categories.create("gui")
gui.forkEvery = 0
gui.maxParallelForks = 1
gui.initialHeapSizeGBminHeapSizeGB = 6
gui.maxHeapSizeGB = 8

def video = categories.create("video")
video.forkEvery = 0  // forkEvery
video.maxParallelForks = 1        // maxParallelForks
video.initialHeapSizeGBminHeapSizeGB = 6
video.maxHeapSizeGB = 8

def scsAllocation = categories.create("scs-allocation")
scsAllocation.forkEvery = 0  // forkEvery
scsAllocation.maxParallelForks = 1        // maxParallelForks
scsAllocation.jvmArguments.add("allocationAgent")
scsAllocation.initialHeapSizeGBminHeapSizeGB = 6
scsAllocation.maxHeapSizeGB = 8

...

Set the Gradle property ciBackendHost = 0.0.0.0. This will be places into the following text to form a url: "http://$ciBackendHost/sync"

When the task runs, it sends the project name and "all tests to tags" map.

...