gerrit/gerrit-launcher
Shawn Pearce b46c76ea89 Split acceptance tests into one target per test
Buck runs tests in parallel based on the targets declared in BUCK
files.  Making each test its own target allows the tests to run in
parallel in separate JVMs.  Parallel execution enables slow acceptance
tests to take less wall clock time when multiple cores are available.

Acceptance tests leak an entire server environment for every @Test
method run.  Fragmenting the tests into units allows them to be
garbage collected by the operating system when the test JVM dies.
This avoids stressing the Java GC with lots of garbage as more tests
pile into the finite heap space.

With this change and the newer version of buck, a clean build and
execution of all tests takes my laptop only 1m25s to execute when
running on battery.

Change-Id: Ia3f689a9e6ca6c620026cc720ccca924387e1363
2013-07-27 11:34:23 -07:00
..
.settings Remove timestamp from all org.eclipse.core.resources.prefs files. 2012-07-04 14:06:09 +02:00
src/main/java/com/google/gerrit/launcher Remove servlet-api from WAR/lib 2012-10-21 21:25:25 -07:00
.gitignore Add Intellij IDEA files to ignore list 2012-05-03 13:17:43 -07:00
BUCK Split acceptance tests into one target per test 2013-07-27 11:34:23 -07:00