Skip to content
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

[WFLY-9777] clean testsuite debris in git-trackable directories. #10962

Merged
merged 1 commit into from Mar 4, 2018

Conversation

soul2zimate
Copy link
Contributor

https://issues.jboss.org/browse/WFLY-9777 clean testsuite debris in git-trackable directories.

@jmesnil
Copy link
Member

jmesnil commented Mar 1, 2018

retest this please

@@ -46,7 +47,7 @@
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);
jar.as(ZipExporter.class).exportTo(new File(TestSuiteEnvironment.getTmpDir(), jar.getName()), true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this like should have just been deleted, there is no reason to export the archive

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleted.

@@ -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");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's used to create an URLClassLoader with these security files as resource and put into setContextClassLoader by TestWatcher, then later it retrieves back from WSTrustTestUtils static methods for client env setup.

@stuartwdouglas
Copy link
Contributor

Retest this please

@stuartwdouglas
Copy link
Contributor

Retest this please

@soul2zimate
Copy link
Contributor Author

failed ConcurrentCoarseWebFailoverTestCase.testGracefulSimpleFailover in Windows CI does not seem related.

@stuartwdouglas stuartwdouglas merged commit 22360ac into wildfly:master Mar 4, 2018
@soul2zimate soul2zimate deleted the WFLY-9777 branch March 4, 2018 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants