-
Notifications
You must be signed in to change notification settings - Fork 20
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
Undeploy doesn't seem to be working #13
Comments
Hello pbosse, |
Thanks Peter, Ok, I have tried it and I still get the same exception at the same place. |
Looks like instead of calling java.util.logging.Logger.log somehow is called org.jboss.logmanager.Logger.log method. And he probably needs different format string than java.util.logging. I will push fix in a seconds.. |
In meantime you can try running it without arquillian.debug.. Fix is already building.. |
Thanks a lot. When I try to run it, it only works only once. The second time, it fails because wildfly is still seeing it has deployed. I need to manually go into the standard.xml and delete the deployment section for it to work. That is why I started running it into debug mode to see if the undeploy was executing. |
Could you run now with debug and paste output here.. New version should be already in snapshot repo. |
Alright, from a fresh wildfly I ran it 2 times, the first time everything works but it never get undeployed, so the second time (also pasted in) it tries to deploy it twice which fails obviously.
Then the regular bean instantiation and test execution that are succeeding then:
If I run it again It first try to deploy the one that was already deployed, in my case IntegrationTesting.war plus the same one which result in a test failure since it's already deployed.
Then all the ejbs then:
|
Are you using mayby any junit groups? |
Or could you try using arquillian 1.1.2.Final ?? I should migrate to new one thou.. |
No junit groups. Just simple @test on 2 methods in one very simple class and 1 method in another one. I'll try it with 1.1.2.Final |
Sadly, It's the same result. I wonder what triggers the undeploy event to actually do it? I still see the
Rerun test
|
I just tried with 1.1.5 and its working.. With flag -Darquillian.debug=true there should be also arquillian debug witch would help a lot.. Could you try enabling it somehow? |
I'm running it with -Darquillian.debug=true already otherwise I don't see the org.eu.ingwar.*
|
Mayby gradle by default redirects normal output somewhere.. |
It was under the test results under the standard output tab. So here's what I have for the first test:
Then it continues on with the next test
|
You are missing whole part that happens after last test. (E) AfterSuite |
Ok here is one run. I'll post the failed re-run in another post.
|
And here is the second run:
|
Did you manage to make it work? If no could you try making small project showing that issue? |
Hi, I am currently trying to use the extension but I'm having difficulty. It doesn
t seem to undeploy it once it has ran the tests. I suspect it
s because of the exception that occurs since after that exception there is no longer any logs from the arquillian-suite-extension, and therefore it cannot catch the deploy messaging. All the tests runs all the way to the end without a problem.I have posted the config below the stack trace. Thank you
I'm using Wildfly 8.1.0 final
Gradle 1.12
Arquillian 1.1.4.Final
testCompile "org.wildfly:wildfly-embedded:8.1.0 final"
testCompile "junit:junit:$junitVersion"
testCompile "org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:2.1.0"
testCompile "org.jboss.arquillian:arquillian-bom:1.1.4.Final"
testCompile "org.jboss.arquillian.extension:arquillian-persistence-api:1.0.0.Alpha7"
testCompile "org.jboss.arquillian.extension:arquillian-persistence-dbunit:1.0.0.Alpha7"
testCompile "org.eu.ingwar.tools:arquillian-suite-extension:1.1.2-SNAPSHOT"
testCompile "org.jboss.arquillian.junit:arquillian-junit-container:1.1.4.Final"
testCompile "org.jboss.arquillian.protocol:arquillian-protocol-servlet:1.1.4.Final"
testRuntime "org.jboss.logging:jboss-logging:3.1.4.GA"
testRuntime "org.wildfly:wildfly-arquillian-container-embedded:8.1.0.Final"
The text was updated successfully, but these errors were encountered: