This is an automated email from the ASF dual-hosted git repository.
olamy pushed a change to branch test-junit-platform-runner-junit4
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
discard 89da3d316 Add missing @Deprecated annotation
discard cba4fdbc2 increase timeout
discard 597bb2217 avoid normal file
discard df657e6f5 remove unused import
discard 32715795d fix bad test
discard 88f9f6f6b minor changes
discard 8f1ecf8c3 change the technique to not throw exception if process
stopped, looks to be some sync issue
discard 9c78757af force argLine via pom.xml
discard a61f5c40f avoid to generate bad file
discard 7ef4db2d3 remove debug
discard 0b797806a avoid not needed rename for now
discard e27b0fcd2 do not rename those files
discard 44ccd1bee Keep using name SurefireJUnit4IntegrationTestCase will be
renamed later
discard ccbc4c24f more debug for windows
discard c3ef039a6 trying to get some debug for gha
discard b78889b7a tentative to fix windows
discard 1e72da629 add some debug
discard bfdd6178f use junit5
discard 573a2147f more memory
discard d86dfe43b give a bit of margin to those flaky tests
discard aacba8f22 spotless apply
discard c430a34b7 disable flaky test
discard 829cbd72c comment on why not the cache
discard f36a3b85b Disable cache as it's causing some issues with shaded
artifact
discard db491140b More memory
discard 972c376fc fix site
discard 1094ea3d0 fix site
discard d89676dd1 fix site
discard f34e03df8 fix site
discard 982981430 fix site
discard c7e291ca6 fix site
discard c127cac87 Update documentation
discard ebe0087fb reduce stored stacktrace to reduce memory usage
discard ccaaedead fix windows build
discard 99f59f8cd gha have some env var such JAVA_HOME_25_X64
discard ca9e30ab6 spotless
discard 7afe07ae1 Ignore those tests for now
discard 3e6e23c6e fix IT
discard 37552c988 remove outdated test case
discard 15acf57cd remove totally flaky unpredictible test
discard 2e8acef19 fix possible flaky test
discard b458520db Remove obsolete test
discard f14434bf3 Ignore non solvable problem for now
discard 9c48f6af8 Need stacktrace to store it per test class in reports
discard 0229b02cf Fix IT file is there now but empty
discard 8356c656f remove now useless code
discard 736764798 use stack trace to locate current test class in use
discard c51a6ff42 fix IT: inheritance is being handled differently on
JUnitPlatformProvider (#3230)
discard 1b7ccbe91 fix IT
discard eae6236fe simplify Jenkinsfile
discard b4dc0c4ff needs Java 17
discard a60196ddf disable as not supported
discard 741ad7055 disable tests not workking with TestNG reg with method names
discard db2daec54 handle ! for -Dtest
discard 5fa3907f5 Fix log parsing
discard dcc4ae451 fix management of getThreadCountClasses or
getThreadCountMethods
discard e89911dff restore IT and suuport parallel classesAndMethods
discard 944820f64 fixed parallel to not be flaky test depending on hardware
discard 555b454fa fix IT
discard 3031d3154 disable runOrder for now with testng
discard 4ffc24b13 add runOrder test for junit 5 and 6
discard a504887ba cleanup not used
discard f9fea5674 cleanup runOrder
discard 13b8b25ae fix IT
discard b9f29242c Fix junit version
discard dd0644415 Fix junit version
discard 9973f3f9f Implement some ordering fron runorder parameter and fix IT
Surefire806SpecifiedTestControlsIT
discard b21a6c868 Fix IT
discard c5fa4e022 remove non supported anymore
discard ce6c6bb4f use better naming
discard 8be57bfc7 Fix IT
discard 53acf4677 Fix IT
discard c4cbded60 Fix IT log assert
discard f93c1b804 Fix testng verbose
discard 13f1608af test not needed
discard 1875583c2 Fix rerun and skip IT
discard bad1aba6f Java pojo test not supported anymore
discard a9e1cc9a3 fix IT
discard bd949bb05 fix IT
discard 60f6932ea fix IT
discard cf957d066 Fix it wrong version of junit
discard 75a99d07f fix bad change
discard f3bfa93ae fix more tests for junit4 listeners
discard f94e93646 fix unsupported junit version
discard 5a65bfe10 Fix test
discard 634a47940 fix test
discard 0f1e3cd8c fix test
discard 91e2571b5 Fix IT
discard 51f1b53f0 minor change
discard a7c6cb850 fix testng dataproviderthreadcount support
discard 4b66e1d57 fix TwoTestCasesIT
discard b018d1f27 fix fail fast for TestNG
discard d7d66dbd9 fix rebase from master
discard 4bbe5409d fix rebase from master
discard 5a26cf8ad fix -Dtest documentation, inclusion of junit engine
discard 6ba597706 renaming, adjust runListener class loading (#3222)
discard 56991a602 test cancellation with testng engine snapshot
discard 2ed61e2b0 fix fail fast for junit
discard 7b9a03176 fix a bit of test using surefire.skipAfterFailureCount
discard 231fca689 fix a bit of test using surefire.skipAfterFailureCount
discard d948cae5c testng threadcount fix IT
discard f02e4d86a Implement JUniit4 Listener via JunitPlaform listener (#3212)
discard 41429d308 fix ignore, Assume as skipped
discard f0ebed1f8 TestNG suitexml not supported anymore
discard 5e5ae36c2 fix wrong assert....
discard 1306aedb3 TestNG suitexml not supported anymore
discard 33dc6f441 fix inherited category annotation ITs
discard 5febef476 fix -Dtest with only method name
discard a13add4f3 run test with suite in parallel
discard 9cabd20a5 junit3 provider configuration not supported anymore
discard a5e8afcff one more fix
discard bf8434e8e fix management of non documented sysproperty junit
discard 437b3148b fix class pattern with method name
discard 0fa02a3f4 fix selector for simple class name
discard d4e1420fd fix -Dtest documentation, inclusion of junit engine
discard 67756d4f6 test junit parallel testing
discard 35ddf3f98 fixing method pattern
discard da8fa3945 fixes with api dependencies manipulation
discard 15010c5f7 groups expression not supported anymore
discard 4702c1125 testng suite xml not supported anymore
discard 1ea6c3409 No adding junit-vintage-engine if already a dependency
discard 1046e6caa fix -Dtest usage
discard 3681424dc fixing my bad
discard 4556fe277 fix junit vintage setup
discard 76be2d0fc not supported anymore
discard ed2d03a64 setup junit bom
discard c7ee97e18 fix issue with -Dtest
discard b82c779b6 missing changes due to removal of testng suitexml
discard 914a03351 spotless
discard 90a35df19 TestNG suite xml is not supported anymore
discard 19e2fe713 add includes/excludes ITs for junit5
discard 71a96be05 fix IT
discard b604bdd1b fix issues with handling of / in selector
discard a0df0d1b9 finally fix includes/excludes with junit4
discard e1519d0bc FIx Surefire1082ParallelJUnitParameterizedIT
discard 883aface4 fix ReportersIT
discard e7d0c19a1 testng suitexml not supported anymore with testng-engine
discard 9ee13234f remove not anymore needed test
discard 2ae4f2d4c fix testng reporter/listener
discard a93b28415 Revert "remove testng which does not make sense anymore"
discard 2aef231fa Remove junit platform runner junit4 (#3207)
discard d7ea3d1aa fix IT (#3206)
discard 0da96d359 fix IT
discard 48df6cde7 fix IT
discard 07bc24ca5 remove testng which does not make sense anymore
discard 9ada1eded fix IT for skipped with TestNG
discard 9ce179a2c fix test ng version check, ensure order by last modified
value from file
discard 0b866f7cf fix unit test
discard f6bf799cf disable running junit test if there is a property junit to
false
discard 2f296f1ca fix potential NPE while reporting results
discard 49c5416c1 remove surefire-grouper
discard deb356345 file names have changed
discard 4cc674123 tests can run both vintage and testng engines
discard 2f46c2578 remove not existing dependencies
discard bf9ced30a be carefull with testng groups properties not mapped on tags
filter
discard b30598ce7 fix some of testng version as minimum supported is now 6.14.3
discard b9c0b918c map testng configuration to junit platform runner
discard cd575b137 Bumping version to 3.6.0-SNAPSHOT
discard 1d8933ff8 testng removal
discard 3bd9e2aa3 TestNG only from 6.14.3
discard c9d832f8b remove potential double catching, adjust IT to modified log
message (#3201)
discard 75bc981d0 use testng runner with junit platform runner
discard a771466b3 do not restrict too old junit for all runners
discard 75d87cce4 Handle Category from junit4
discard d26fd71ab add null safety, more usable exception message
discard 592d9548c apply spotless
discard 117ecda8d tidy up
discard 0a3866d9f refine method call of expected failing tests with specific
error message
discard 41b33119c move unsupported versions tests to one file
discard 982b6935c use version range, add tests for JUnit 4 versions, adjust
naming of similar JUnit 3 test
discard 715881f8a remove unnecessary packages from test
discard 92e912449 add unsupported error and test
discard d231dbe15 enable test launchers to expect errors in log after execution
discard d83032949 fix turning parallel from junit4 to
junit.vintage.execution.parallel
discard 07856f209 no more pojo simple
discard 488848df6 no more pojo simple
discard 625d287d8 restore provider parameters
discard c1c96d3f1 no need of specific 4.7 tests
discard 282d708fe fix missing remove modules
discard cc523d526 remove junit 3 support (#3191)
discard 87ed47b57 spotless:apply
discard 4e421f630 more its migration to junit 4.12
discard 0bcf396de more its migration to junit 4.12
discard b54cde083 more its migration to junit 4.12
discard 48d8b4279 more its migration to junit 4.12
discard 442473ff7 remove junit 3 provider, update to junit 4 (#3190)
discard 1c7139f87 more its upgrade to 4.12
discard 635c2d175 remove duplicate line
discard 7166c6c5f more renaming
discard d28e04586 junit 4.12
discard 3f4ea873f remove surefire junit4, 47 code
discard 29d34ce8d avoid some NPE
discard c3792e921 Force junit 4 to use 4.12 as minimum with platform engine
discard e276e2437 restore test
discard 847fb77f0 add version range as vintage can be used only from 4.12
discard 637dad7e8 spotless
discard 1ab3f4088 those timing tests are so flaky
discard dac62c1d0 fix unit tests
discard fb405163c fix the NPEs
discard 13c9e241c expecting changes here
discard b768326ad fix some compilation
discard 62d6b0214 use junit plaform runner for junit 4.4
add 688f8c463 Use PowerShell instead of WMIC for detecting zombie process
on Windows (#3258)
add 0b190142a Replace runing external process and parsing output with
simple ProcessHandle if available (Java9+) (#3252)
add 698f7da6b use junit plaform runner for junit 4.4
add 9a08b3c1c fix some compilation
add 069e2fd3e expecting changes here
add e9da4c679 fix the NPEs
add 8732d60d8 fix unit tests
add 7c908dcfb those timing tests are so flaky
add 6f7a0159a spotless
add 2ba9b1c42 add version range as vintage can be used only from 4.12
add 77e938892 restore test
add 9499684a1 Force junit 4 to use 4.12 as minimum with platform engine
add 0a8b066e6 avoid some NPE
add f72b92ece remove surefire junit4, 47 code
add effde1852 junit 4.12
add 3b7950c9b more renaming
add 9db61a4e2 remove duplicate line
add 374b82720 more its upgrade to 4.12
add 615d388ac remove junit 3 provider, update to junit 4 (#3190)
add 6aadcbaaa more its migration to junit 4.12
add b3c5cf4b4 more its migration to junit 4.12
add c97be2681 more its migration to junit 4.12
add 0ebd7e665 more its migration to junit 4.12
add d4e73d722 spotless:apply
add dfed2d418 remove junit 3 support (#3191)
add ee77423f2 fix missing remove modules
add 9e7151423 no need of specific 4.7 tests
add 8825cbea6 restore provider parameters
add bc4d6438c no more pojo simple
add 9e5a74e35 no more pojo simple
add 2da4d3c55 fix turning parallel from junit4 to
junit.vintage.execution.parallel
add 290953e2d enable test launchers to expect errors in log after execution
add cc770a318 add unsupported error and test
add 83092331e remove unnecessary packages from test
add d01dad5e2 use version range, add tests for JUnit 4 versions, adjust
naming of similar JUnit 3 test
add 3a2e250ad move unsupported versions tests to one file
add e5c2f481e refine method call of expected failing tests with specific
error message
add 8e0f77734 tidy up
add 8608545de apply spotless
add 380c654fe add null safety, more usable exception message
add b98e1996c Handle Category from junit4
add 861b4c054 do not restrict too old junit for all runners
add 5ee73202a use testng runner with junit platform runner
add 44c283e31 remove potential double catching, adjust IT to modified log
message (#3201)
add bd5ecef45 TestNG only from 6.14.3
add 82020878a testng removal
add dc3d62301 Bumping version to 3.6.0-SNAPSHOT
add a0406a185 map testng configuration to junit platform runner
add afc99415f fix some of testng version as minimum supported is now 6.14.3
add 53e09a5dc be carefull with testng groups properties not mapped on tags
filter
add c94d6d092 remove not existing dependencies
add f2c2374f4 tests can run both vintage and testng engines
add 2ad34443d file names have changed
add 7f474f807 remove surefire-grouper
add fdffd2187 fix potential NPE while reporting results
add 005c24cd3 disable running junit test if there is a property junit to
false
add 682b086c6 fix unit test
add 4b37ba005 fix test ng version check, ensure order by last modified
value from file
add 792a578b9 fix IT for skipped with TestNG
add dbb083b5b remove testng which does not make sense anymore
add e052a2f3d fix IT
add dd0c21230 fix IT
add 7da1de599 fix IT (#3206)
add 747c536d8 Remove junit platform runner junit4 (#3207)
add 26b9b02d0 Revert "remove testng which does not make sense anymore"
add cbff79593 fix testng reporter/listener
add f8616da6c remove not anymore needed test
add 21e13a653 testng suitexml not supported anymore with testng-engine
add da46bce51 fix ReportersIT
add 3af9e1c26 FIx Surefire1082ParallelJUnitParameterizedIT
add 5ba5c585b finally fix includes/excludes with junit4
add 15cbac3c0 fix issues with handling of / in selector
add 1abefca20 fix IT
add 9b4713b4d add includes/excludes ITs for junit5
add c79cfca2d TestNG suite xml is not supported anymore
add 5462d4a95 spotless
add f502f3a64 missing changes due to removal of testng suitexml
add ef96e0db2 fix issue with -Dtest
add 9a6db3fe6 setup junit bom
add f601c9358 not supported anymore
add b65e4cbdb fix junit vintage setup
add ac915eea6 fixing my bad
add c9875c552 fix -Dtest usage
add 4dfa6249c No adding junit-vintage-engine if already a dependency
add 219095e9e testng suite xml not supported anymore
add e63553ab8 groups expression not supported anymore
add 381740c6e fixes with api dependencies manipulation
add 9a8ccd9af fixing method pattern
add 055ebbed6 test junit parallel testing
add ea4da63f2 fix -Dtest documentation, inclusion of junit engine
add 56907f655 fix selector for simple class name
add c124ba13d fix class pattern with method name
add cdb8da822 fix management of non documented sysproperty junit
add bd05dd51d one more fix
add e7ac6d9ad junit3 provider configuration not supported anymore
add efc5cdc29 run test with suite in parallel
add dee5422c5 fix -Dtest with only method name
add 78f8cbb43 fix inherited category annotation ITs
add 61de586d4 TestNG suitexml not supported anymore
add e15d213b1 fix wrong assert....
add ce247d16d TestNG suitexml not supported anymore
add a391cff99 fix ignore, Assume as skipped
add 1ffe9d4c9 Implement JUniit4 Listener via JunitPlaform listener (#3212)
add 0923c28e8 testng threadcount fix IT
add cbda01b57 fix a bit of test using surefire.skipAfterFailureCount
add faa71679a fix a bit of test using surefire.skipAfterFailureCount
add bd1558d3c fix fail fast for junit
add 5fae62940 test cancellation with testng engine snapshot
add eed14d7b3 renaming, adjust runListener class loading (#3222)
add 1c258c32b fix -Dtest documentation, inclusion of junit engine
add 8f02abb56 fix rebase from master
add 9743fe7d7 fix rebase from master
add 64724e406 fix fail fast for TestNG
add 4d4f1b9d3 fix TwoTestCasesIT
add b73a35229 fix testng dataproviderthreadcount support
add fb16f0aef minor change
add 8d81227ca Fix IT
add 4b1acabe9 fix test
add 7e460f1bc fix test
add fa1e50444 Fix test
add 155f00ff0 fix unsupported junit version
add 3f816d303 fix more tests for junit4 listeners
add a34330bf6 fix bad change
add 1deaea105 Fix it wrong version of junit
add a292ea944 fix IT
add 23f34bf83 fix IT
add e8a3f66b1 fix IT
add 1ab51ddb7 Java pojo test not supported anymore
add b1cbdc785 Fix rerun and skip IT
add 8fd7eb64f test not needed
add 135050612 Fix testng verbose
add cd5e3bdef Fix IT log assert
add a24ada983 Fix IT
add ef4cb1534 Fix IT
add d5b55bbfa use better naming
add ed9404e0b remove non supported anymore
add 973b8673e Fix IT
add ef913f7b2 Implement some ordering fron runorder parameter and fix IT
Surefire806SpecifiedTestControlsIT
add 22c001214 Fix junit version
add 2409c509d Fix junit version
add a65e0f8a6 fix IT
add 8843ef75e cleanup runOrder
add ff3c3aa5d cleanup not used
add a660a88e4 add runOrder test for junit 5 and 6
add d4adf263f disable runOrder for now with testng
add 4c7309eeb fix IT
add 772c857bd fixed parallel to not be flaky test depending on hardware
add 423b23e2f restore IT and suuport parallel classesAndMethods
add c5e13c428 fix management of getThreadCountClasses or
getThreadCountMethods
add cbfde549c Fix log parsing
add 948dd4f82 handle ! for -Dtest
add f8255483e disable tests not workking with TestNG reg with method names
add c78a6c489 disable as not supported
add 96d49079d needs Java 17
add 1292a0f44 simplify Jenkinsfile
add 4d7805606 fix IT
add deb81643c fix IT: inheritance is being handled differently on
JUnitPlatformProvider (#3230)
add fdef39421 use stack trace to locate current test class in use
add f5510e7e9 remove now useless code
add e88f3d6e8 Fix IT file is there now but empty
add 725e11dbe Need stacktrace to store it per test class in reports
add 47d138924 Ignore non solvable problem for now
add 85593dce5 Remove obsolete test
add d540c97c7 fix possible flaky test
add e3c69f2cc remove totally flaky unpredictible test
add d6fec2e47 remove outdated test case
add 92d82d554 fix IT
add 31a6de630 Ignore those tests for now
add 66f555fd3 spotless
add 454081a20 gha have some env var such JAVA_HOME_25_X64
add b3c6031bd fix windows build
add 07975ca1c reduce stored stacktrace to reduce memory usage
add 7180b7bdb Update documentation
add 5101b0f74 fix site
add bd811aa97 fix site
add 6b02ac5b5 fix site
add 09ac69e8d fix site
add 6c082cf5e fix site
add f8cc8a6ee fix site
add e182026b3 More memory
add ee585e60b Disable cache as it's causing some issues with shaded
artifact
add 4f7f5adbc comment on why not the cache
add 9a24c9b6b disable flaky test
add 3f3d10a70 spotless apply
add f1e599eb4 give a bit of margin to those flaky tests
add 7fd5b7675 more memory
add 49e1e8aff use junit5
add 589a0bf07 add some debug
add c442cdf49 tentative to fix windows
add bb100bbc3 trying to get some debug for gha
add 97f1991b0 more debug for windows
add eefa101af Keep using name SurefireJUnit4IntegrationTestCase will be
renamed later
add 275c856f3 do not rename those files
add 02c428772 avoid not needed rename for now
add 0eef5b21c remove debug
add bea112052 avoid to generate bad file
add 56e61aee1 force argLine via pom.xml
add 8909dfeff change the technique to not throw exception if process
stopped, looks to be some sync issue
add b80c234cf minor changes
add 8d198cfba fix bad test
add 20b3467e8 remove unused import
add 133412719 avoid normal file
add a51753384 increase timeout
add bb9523735 Add missing @Deprecated annotation
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (89da3d316)
\
N -- N -- N refs/heads/test-junit-platform-runner-junit4
(bb9523735)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/maven-verify.yml | 2 +-
maven-surefire-common/pom.xml | 1 -
.../plugin/surefire/booterclient/Platform.java | 9 +-
.../src/site/apt/examples/shutdown.apt.vm | 6 +-
surefire-booter/pom.xml | 5 +
.../apache/maven/surefire/booter/ForkedBooter.java | 12 +-
.../apache/maven/surefire/booter/PpidChecker.java | 59 ++-
.../maven/surefire/booter/ProcessChecker.java | 108 ++++++
.../surefire/booter/ProcessHandleChecker.java | 238 ++++++++++++
.../apache/maven/surefire/booter/ProcessInfo.java | 11 +
.../apache/maven/surefire/booter/SystemUtils.java | 1 +
.../maven/surefire/booter/PpidCheckerTest.java | 432 ---------------------
.../maven/surefire/booter/ProcessCheckerTest.java | 248 ++++++++++++
.../surefire/booter/ProcessHandleCheckerTest.java | 205 ++++++++++
14 files changed, 872 insertions(+), 465 deletions(-)
create mode 100644
surefire-booter/src/main/java/org/apache/maven/surefire/booter/ProcessChecker.java
create mode 100644
surefire-booter/src/main/java/org/apache/maven/surefire/booter/ProcessHandleChecker.java
delete mode 100644
surefire-booter/src/test/java/org/apache/maven/surefire/booter/PpidCheckerTest.java
create mode 100644
surefire-booter/src/test/java/org/apache/maven/surefire/booter/ProcessCheckerTest.java
create mode 100644
surefire-booter/src/test/java/org/apache/maven/surefire/booter/ProcessHandleCheckerTest.java