Rename crAppTest to checkpointRestoreAppTest
Also available with the shorter cRAT task name.
This commit is contained in:
@@ -7,7 +7,7 @@ There are two types of tests: unit tests and application tests.
|
||||
|
||||
Unit tests can be run using the `test` task.
|
||||
|
||||
The `appTest` task tests the application running on the JVM. The `crAppTest` task tests the application running on the JVM after a checkpoint/restore.
|
||||
The `appTest` task tests the application running on the JVM. The `checkpointRestoreAppTest` (also available with the shorter `cRAT` task name) task tests the application running on the JVM after a checkpoint/restore.
|
||||
|
||||
== Prerequisites
|
||||
|
||||
@@ -44,7 +44,7 @@ for example
|
||||
Valid test task names are:
|
||||
|
||||
1. `appTest` – tests the application running on the JVM
|
||||
2. `crAppTest` – tests the application running on the JVM after a checkpoint/restore
|
||||
2. `checkpointRestoreAppTest` (also available with the shorter `cRAT` task name) – tests the application running on the JVM after a checkpoint/restore
|
||||
3. `test` – executes the unit tests on the JVM
|
||||
|
||||
for example
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|===
|
||||
h|Smoke Test
|
||||
h|appTest
|
||||
h|crAppTest
|
||||
h|checkpointRestoreAppTest
|
||||
h|test
|
||||
|
||||
|webflux-undertow
|
||||
|
||||
@@ -158,7 +158,7 @@ jobs:
|
||||
params:
|
||||
BRANCH: #@ branch
|
||||
SMOKE_TEST: #@ group.name + ":" + smoke_test.name
|
||||
TASK: crAppTest
|
||||
TASK: checkpointRestoreAppTest
|
||||
DOCKER_HUB_AUTH: ((docker-hub-auth))
|
||||
DOCKER_HUB_MIRROR: ((docker-hub-mirror))
|
||||
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
|
||||
|
||||
@@ -255,7 +255,7 @@ public class CrSmokeTestPlugin implements Plugin<Project> {
|
||||
TaskProvider<? extends StartApplication> startTask, TaskProvider<StopApplication> stopTask) {
|
||||
String taskName = switch (type) {
|
||||
case JVM -> "appTest";
|
||||
case JVM_CHECKPOINT_RESTORE -> "crAppTest";
|
||||
case JVM_CHECKPOINT_RESTORE -> "checkpointRestoreAppTest";
|
||||
};
|
||||
TaskProvider<AppTest> appTestTask = project.getTasks().register(taskName, AppTest.class, (task) -> {
|
||||
task.dependsOn(startTask);
|
||||
|
||||
@@ -78,7 +78,7 @@ public abstract class UpdateStatusPage extends AbstractSmokeTestsTask {
|
||||
private enum TestType {
|
||||
|
||||
APP_TEST(SmokeTest::appTests, "-app-test", "appTest"),
|
||||
CR_APP_TEST(SmokeTest::appTests, "-cr-app-test", "crAppTest"),
|
||||
CR_APP_TEST(SmokeTest::appTests, "-cr-app-test", "checkpointRestoreAppTest"),
|
||||
TEST(SmokeTest::tests, "-test", "test");
|
||||
|
||||
private final Predicate<SmokeTest> predicate;
|
||||
|
||||
Reference in New Issue
Block a user