Skip to content

Commit

Permalink
[WFLY-9777] clean testsuite debris in git-trackable directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
soul2zimate committed Mar 2, 2018
1 parent f2d1534 commit 768178c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Expand Up @@ -25,13 +25,11 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.exporter.ZipExporter;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Test;
import org.junit.runner.RunWith;

import javax.naming.InitialContext;
import java.io.File;

/**
* @author Jaikiran Pai
Expand All @@ -46,7 +44,6 @@ public class UserTransactionAccessTestCase {
public static JavaArchive createDeployment() {
final JavaArchive jar = ShrinkWrap.create(JavaArchive.class, MODULE_NAME + ".jar");
jar.addPackage(UserTransactionAccessTestCase.class.getPackage());
jar.as(ZipExporter.class).exportTo(new File(".", jar.getName()), true);
return jar;
}

Expand Down
Expand Up @@ -51,7 +51,7 @@ handler.FILE.properties=autoFlush,append,fileName,suffix
handler.FILE.constructorProperties=fileName,append
handler.FILE.autoFlush=true
handler.FILE.append=true
handler.FILE.fileName=${org.jboss.boot.log.file:boot.log}
handler.FILE.fileName=${org.jboss.boot.log.file:target/boot.log}
handler.FILE.suffix=.yyyy-MM-dd

formatter.COLOR-PATTERN=org.jboss.logmanager.formatters.PatternFormatter
Expand Down
4 changes: 2 additions & 2 deletions testsuite/integration/iiop/pom.xml
Expand Up @@ -26,8 +26,7 @@
<jbossas.project.dir>${jbossas.ts.dir}/..</jbossas.project.dir>
<iiop.endorsed.argline>-Djava.endorsed.dirs=${project.build.directory}/endorsed</iiop.endorsed.argline>
<ts.elytron.cli>ssl-enable-elytron.cli</ts.elytron.cli>
<jbossas>jbossas</jbossas>
<wildfly.config.dir>${basedir}/target/${jbossas}/standalone/configuration</wildfly.config.dir>
<wildfly.config.dir>${basedir}/target/wildfly/standalone/configuration</wildfly.config.dir>
</properties>

<profiles>
Expand Down Expand Up @@ -118,6 +117,7 @@
-Dcom.sun.CORBA.ORBUseDynamicStub=true
-Dcom.arjuna.ats.arjuna.common.propertiesFile=jbossts-properties.xml ${surefire.jacoco.args}
</argLine>
<workingDirectory>${basedir}/target</workingDirectory>
</configuration>
<executions combine.children="append">

Expand Down
Expand Up @@ -39,6 +39,7 @@
import org.jboss.as.test.integration.ws.wsse.trust.holderofkey.HolderOfKeyIface;
import org.jboss.as.test.integration.ws.wsse.trust.onbehalfof.OnBehalfOfServiceIface;
import org.jboss.as.test.integration.ws.wsse.trust.service.ServiceIface;
import org.jboss.as.test.shared.TestSuiteEnvironment;
import org.jboss.dmr.ModelNode;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
Expand Down Expand Up @@ -268,7 +269,7 @@ private String getClientJarPaths() throws IOException {
jar.addManifest()
.addAsManifestResource(WSTrustTestCase.class.getPackage(), "META-INF/clientKeystore.properties", "clientKeystore.properties")
.addAsManifestResource(WSTrustTestCase.class.getPackage(), "META-INF/clientstore.jks", "clientstore.jks");
File jarFile = new File("jaxws-samples-wsse-policy-trust-client.jar");
File jarFile = new File(TestSuiteEnvironment.getTmpDir(), "jaxws-samples-wsse-policy-trust-client.jar");
jar.as(ZipExporter.class).exportTo(jarFile, true);
return jarFile.getAbsolutePath();
}
Expand Down

0 comments on commit 768178c

Please sign in to comment.