[JBoss JIRA] (ARQ-670) Arquillian Servlet's context root should be "test", not "test.war", in EAR
by Aslak Knutsen (Moved) (JIRA)
[ https://issues.jboss.org/browse/ARQ-670?page=com.atlassian.jira.plugin.sy... ]
Aslak Knutsen moved AS7-2118 to ARQ-670:
----------------------------------------
Project: Arquillian (was: Application Server 7)
Key: ARQ-670 (was: AS7-2118)
Affects Version/s: 1.0.0.CR6
(was: 7.1.0.Alpha1)
(was: 7.0.2.Final)
Component/s: Test Protocol SPIs and Implementation
(was: Test Suite)
Security: Public
> Arquillian Servlet's context root should be "test", not "test.war", in EAR
> --------------------------------------------------------------------------
>
> Key: ARQ-670
> URL: https://issues.jboss.org/browse/ARQ-670
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Test Protocol SPIs and Implementation
> Affects Versions: 1.0.0.CR6
> Reporter: Alexandre Gattiker
> Assignee: Andrew Rubinger
> Fix For: 1.0.0.Final
>
>
> As the Arquillian JMX protocol doesn't currently work for EARs in AS7 (AS7-1696), I tried using the Servlet 3.0 protocol. However the test runner fails to contact the servlet:
> java.lang.IllegalStateException: Error launching request at http://127.0.0.1:8080/test/ArquillianServletRunner?outputMode=serializedO.... No result returned
> at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:158)
> at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:118)
> ... 75 more
> The servlet is actually deployed at:
> http://127.0.0.1:8080/test.war/ArquillianServletRunner
> Because Arquillian has added the following to my EAR's application.xml:
> <module>
> <web>
> <web-uri>test.war</web-uri>
> <context-root>test.war</context-root>
> </web>
> </module>
> This can be traced to org.jboss.arquillian.protocol.servlet.v_3.ServletProtocolDeploymentPackager:
>
> applicationXml.webModule(wrappedWar.getName(), wrappedWar.getName());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (ARQ-570) Minor docs typos
by Ondrej Zizka (JIRA)
Minor docs typos
----------------
Key: ARQ-570
URL: https://issues.jboss.org/browse/ARQ-570
Project: Arquillian
Issue Type: Quality Risk
Security Level: Public (Everyone can see)
Components: Documentation
Reporter: Ondrej Zizka
Priority: Trivial
{code}
@Test // runs in container
public void shouldBeAbleToRunOnClientSide() throws Exception {
}
{code}
I thin that should be named `shouldBeAbleToRunOnContainerSide`.
{code}
@ArquillianResource(MyServlet.class)
private URL baseServerURL;
{code}
I think that should be baseServletURL.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (ARQ-605) Arquillian TestNG base class breaks tests TestNG groups
by Tom Barlow (JIRA)
Arquillian TestNG base class breaks tests TestNG groups
-------------------------------------------------------
Key: ARQ-605
URL: https://issues.jboss.org/browse/ARQ-605
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Integration Test Suite
Affects Versions: 1.0.0.CR5
Reporter: Tom Barlow
The 'alwaysRun' parameter on the Arquillian TestNG base class causes these methods to ALWAYS get run, even when Arquillian tests are excluded via their group.
@BeforeSuite(alwaysRun = true)
public void arquillianBeforeSuite() throws Exception
This has a side effect of breaking maven profiles that use testng groups to select their tests.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month