-
Notifications
You must be signed in to change notification settings - Fork 471
[WFCORE-7310] ear-exclusions-cascaded-to-subdeployments doesn't work correctly #6467
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
Conversation
Hello, mskacelik. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment. |
/ok-to-test |
Hello @mskacelik , thanks for the PR. We need to have the testcase in place in order to fully verify this. I suggest to go ahead by creating the testcase PR (without the wildfly core version bump) and let it to fail as expected. Then, we can use our CI to run an Integration Job that verifies both of your topic branches, the one for core and the one for wildfly, and that one should pass. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Will do a bit of investigation on why the other tests failed. |
This comment was marked as outdated.
This comment was marked as outdated.
@yersan hopefully fixed now, and created a PR for the tests as you wanted wildfly/wildfly#19095 |
Windows - JDK 17 (Pull Request) - merge failed test can be ignored since they are not related to this change. They are being addressed at https://issues.redhat.com/browse/WFCORE-7303 I have to take a closer look at tghis, after your changes I was expecting a possible failure on the |
It actually should have passed, the PR only changes that the cascade is happening on all sub-deployments (implicit), so this includes the explicit (as described in the |
Linux Integration Job: Windows Integration Job: |
Linux TC jobs were successful. But the Windows ones, some tests regarding permissions seem to fail, but I am not really sure why that is. |
Thanks @mskacelik |
@mskacelik |
https://issues.redhat.com/browse/WFCORE-7310
The fix is in that I used
subDeploymentMap
, which holds info for all the "global" sub-deployments, instead ofresult.getSubDeploymentSpecifications()
, which only contains the explicitly set sub-deployments.Tested with the reproducer in the issue:

And also tested with integration tests within WF:
wildfly/wildfly@main...mskacelik:wildfly:WFCORE-7310-TEST (WIP, Proof of Concept)
The test alone might spark another discussion if there is even a need for the original explicit subsystem test.
Test PR: wildfly/wildfly#19095