[
https://issues.jboss.org/browse/WFCORE-2656?page=com.atlassian.jira.plugi...
]
Chao Wang commented on WFCORE-2656:
-----------------------------------
I have also seen this test fails today with error:
{noformat}
Failed tests:
DeploymentTestCase.testFilesystemScannerRegistration:253->addDeploymentScanner:799->addDeploymentScanner:817
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0436: Cannot register capability
'org.wildfly.management.deployment-scanner.dummy' at location '[
(\"subsystem\" => \"deployment-scanner\"),
(\"scanner\" => \"dummy\")
]' as it is already registered in context 'global' at location(s) '[[
(\"subsystem\" => \"deployment-scanner\"),
(\"scanner\" => \"dummy\")
]]'",
"rolled-back" => true
} expected:<[success]> but was:<[failed]>
{noformat}
But it fails constantly on my machine, Is this the same cause appeared on CI ?
DeploymentTestCase.testFilesystemScannerRegistration fails
intermittently
-------------------------------------------------------------------------
Key: WFCORE-2656
URL:
https://issues.jboss.org/browse/WFCORE-2656
Project: WildFly Core
Issue Type: Bug
Components: Deployment Scanner, Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
https://ci.wildfly.org/project.html?projectId=WildFlyCore_PullRequest&...
I fear this has something to do with the capability registry and nothing to do with the
scanner itself. It started happening when I added a capability to the scanner so it could
consume a capability for the path it references.
The test does a quick add/remove/add of a scanner resource and it's the 2nd add that
fails with a dupicate capability error. But the remove mean the dup is gone. It's
intermittent so I fear some race, but there's nothing obvious.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)