-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Added new MockitoTests SegmentationErrorTest #5133
Conversation
d3ba8dc
to
ab2044f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Binary files should not be put in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove .class files
All the tests are disabled. The above Grinder did not test anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- please remove pom.xml as we do not run maven
- ideally, we only need one folder, not multiple ones. Please only include required java files under one src folder.
- I am not sure maven_jar_plugin in Add build dependencies for Mockito testcase TKG#505 is needed
- I do not see any testNG API being used in java file. I am not sure the purpose of using testNG in this case.
- Test the PR in Grinder to ensure the test runs and passes with latest SDK, and fails with the old SDK (without fix)
Ideally, the folder structure should look like the following. We should not need anything extra.
|
It may also be useful to add a short README file in functional/MockitoTests directory, especially if the intention will be to add more Mockito-based testing into it (to give guidance on how to do so) or to say what the current test target is intended to test. |
964f833
to
0e72efa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks broadly OK but will leave to the experts to make a call on this one.
Move this back to draft until the above comments are addressed. |
fix Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks broadly OK to me but would prefer two other reviewers closer to aqa-tests to review
Signed-off-by: sophiaxu0424 <[email protected]>
Dev team has agreed to use 11 Tested on windows and zlinux On windows- customed openj9 sdk 17 |
@sophiaxu0424 are you going to test on zOS? And we need also run test against hotspot. |
Hi Lan, On IBM ZOS platform - customed ibm idk 17 |
Signed-off-by: sophiaxu0424 <[email protected]>
Please analyze the failure to ensure it is not a test setup issue. If everything is ok, then confirm with the dev team if the behavior is expected or not. |
Hi Lan, it is not an test setup failure, after talking with Babneet, and he suggested that we can exclude this test on ZOS and document it. |
Please update the PR to exclude the test on zOS. |
Hi Lan, build run on hotspot: |
functional/MockitoTests/playlist.xml
Outdated
<comment>Temporarily disabled on z/OS for now</comment> | ||
<platform>.*zos.*</platform> | ||
<impl>ibm</impl> | ||
<version>11+</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove <version>11+</version>
and <impl>ibm</impl>
For due diligence, please run the test against 11 and 21 hotspot. |
Signed-off-by: sophiaxu0424 <[email protected]>
functional/MockitoTests/playlist.xml
Outdated
<testCaseName>MockitoMockTest</testCaseName> | ||
<disables> | ||
<disable> | ||
<comment>Temporarily disabled on z/OS for now</comment> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have an issue for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, and it passed/disabled: https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/39895/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ask the dev team for the issue. Otherwise, we have no way to track this temporary disable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asked Babneet, and he suggested me to open one issue under openj9/issue, and here's the link, I've added this info to our disable comment.
eclipse-openj9/openj9#19331
|
Signed-off-by: sophiaxu0424 <[email protected]>
Signed-off-by: sophiaxu0424 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Since this PR is only one of the two tests, @sophiaxu0424 please change |
Note:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/39630/console