[jboss-jira] [JBoss JIRA] (WFLY-12398) Running testsuite/integration/microprofile-tck/opentracing twice without cleaning fails
Brian Stansberry (Jira)
issues at jboss.org
Tue Aug 20 18:15:00 EDT 2019
Brian Stansberry created WFLY-12398:
---------------------------------------
Summary: Running testsuite/integration/microprofile-tck/opentracing twice without cleaning fails
Key: WFLY-12398
URL: https://issues.jboss.org/browse/WFLY-12398
Project: WildFly
Issue Type: Bug
Components: MP OpenTracing
Reporter: Brian Stansberry
Assignee: Emmanuel Hugonnet
If you try to run testsuite/integration/microprofile-tck/opentracing twice without cleaning you get:
{code}
[INFO] Running TestSuite
[ERROR] Tests run: 46, Failures: 1, Errors: 0, Skipped: 45, Time elapsed: 4.175 s <<< FAILURE! - in TestSuite
[ERROR] arquillianBeforeClass(org.eclipse.microprofile.opentracing.tck.OpentracingClientTests) Time elapsed: 3.661 s <<< FAILURE!
org.jboss.shrinkwrap.api.exporter.FileExistsException: Target exists and we haven't been flagged to overwrite it: /Users/bstansberry/dev/wildfly/wildfly/testsuite/integration/microprofile-tck/opentracing/target/archives/testapp.war
at org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.getOutputStreamToFile(AbstractStreamExporterImpl.java:87)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.exportTo(AbstractStreamExporterImpl.java:144)
at org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl.exportTo(AbstractStreamExporterImpl.java:167)
at io.smallrye.opentracing.arquillian.DeploymentProcessor.process(DeploymentProcessor.java:75)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.applyApplicationProcessors(DeploymentGenerator.java:223)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:172)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)
{code}
The io.smallrye.opentracing.arquillian.DeploymentProcessor class is in this maven module so perhaps the exportTo variant with an 'overwrite' field could be used. I have no idea if it's 'legal' in terms of TCK compliance to change those files though.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list