-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-19610. S3A: ITests to run under JUnit5 #7814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
HADOOP-19610. S3A: ITests to run under JUnit5 #7814
Conversation
* junit.jupiter and junit.vintage => 5.13.3 * junit.platform => 1.13.3 * Surefire => 3.5.3. Without that tests weren't being found. * cut a duplicate and conflicting import of mockito-jupiter; maven was warning of this.
pick up changes of apache#5567 to pull out setting of stack trace and failIfNoSpecifiedTests to build properties with our chosen values.
Seems to kick off the tests in parallel. There are three runs, the last with no tests executed. But its elapsed time is exactly those of the other two executions added up (16.38 + 12.42
|
comparison execution time
note that both test runs were in a single process, so even if the log showed three test suites running at the same time, only one process is running
I don't think that is good, because we do have shared state (filesystem cache etc) which will interfere with each other |
🎊 +1 overall
This message was automatically generated. |
These map to "flaky", "rootfilesystem" and "scale" Junit 5 tags. Goals -can control which tests are run -tests which are flaky due to external factors like network underflow can be skipped by CI builds. Add Class attribute @ParamString, where goal is to provide a string of the formatted parameterized values. @ParamString("performance-%s") There's no implementation of this (yet); may need a different way of doing it later. Goal is to make it possible to use in path names. JUnit4 methodName did this, but I am not sure about JUnit 5 ...this is a placeholder. ITestS3AContractSeek is class parameterized.
🎊 +1 overall
This message was automatically generated. |
Fixing parameterized ITests in hadoop-aws to work under Junit 5.
This is on top of PR #7785
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?