From 71212fcbf4d2175746f59e8c0103836fc3ccfc64 Mon Sep 17 00:00:00 2001 From: Alan Roth Date: Tue, 2 Jun 2020 11:21:35 +0100 Subject: [PATCH 1/3] Excluded micro tests on remote profile --- .../samples-programmatic/pom.xml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/appserver/tests/payara-samples/samples-programmatic/pom.xml b/appserver/tests/payara-samples/samples-programmatic/pom.xml index 50d5575d1c0..3585b6e691b 100644 --- a/appserver/tests/payara-samples/samples-programmatic/pom.xml +++ b/appserver/tests/payara-samples/samples-programmatic/pom.xml @@ -29,4 +29,26 @@ junit + + + + payara-server-remote + + **/programatic/**.java + + + + + maven-surefire-plugin + + + ${exclude.tests} + + + + + + + + From 9d94b0db9ec10b570b649270b83ff51f5b1a9151 Mon Sep 17 00:00:00 2001 From: Alan Roth Date: Tue, 2 Jun 2020 13:14:45 +0100 Subject: [PATCH 2/3] Include micro tests with profile --- appserver/tests/payara-samples/pom.xml | 7 +++++- .../samples-programmatic/pom.xml | 22 ------------------- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/appserver/tests/payara-samples/pom.xml b/appserver/tests/payara-samples/pom.xml index 2b4199b47d5..53a57ee4f22 100644 --- a/appserver/tests/payara-samples/pom.xml +++ b/appserver/tests/payara-samples/pom.xml @@ -36,11 +36,16 @@ test-utils samples - samples-programmatic classpath + + micro-tests + + samples-programmatic + + unstable diff --git a/appserver/tests/payara-samples/samples-programmatic/pom.xml b/appserver/tests/payara-samples/samples-programmatic/pom.xml index 3585b6e691b..50d5575d1c0 100644 --- a/appserver/tests/payara-samples/samples-programmatic/pom.xml +++ b/appserver/tests/payara-samples/samples-programmatic/pom.xml @@ -29,26 +29,4 @@ junit - - - - payara-server-remote - - **/programatic/**.java - - - - - maven-surefire-plugin - - - ${exclude.tests} - - - - - - - - From cf385a3f0c0ba82726bd9a5d751eb6a3782a41a2 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 2 Jun 2020 13:59:12 +0100 Subject: [PATCH 3/3] Profile name convention --- appserver/tests/payara-samples/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appserver/tests/payara-samples/pom.xml b/appserver/tests/payara-samples/pom.xml index 53a57ee4f22..6f1d21f7ec6 100644 --- a/appserver/tests/payara-samples/pom.xml +++ b/appserver/tests/payara-samples/pom.xml @@ -41,7 +41,7 @@ - micro-tests + payara-micro-managed samples-programmatic @@ -277,4 +277,4 @@ - \ No newline at end of file +