You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2015/11/18 22:51:44 UTC

wicket git commit: Arquillian - Use ports different than the ones in Wicket 7.x branch so BuildBot do not fail due to "port already in use"

Repository: wicket
Updated Branches:
  refs/heads/master dffba2ce4 -> 600c193f3


Arquillian - Use ports different than the ones in Wicket 7.x branch so BuildBot do not fail due to "port already in use"


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/600c193f
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/600c193f
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/600c193f

Branch: refs/heads/master
Commit: 600c193f39bd0344ef565a7991f903e99c436c12
Parents: dffba2c
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Nov 18 22:50:20 2015 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Nov 18 22:50:20 2015 +0100

----------------------------------------------------------------------
 .../arquillian/testing/deployment/AbstractDeploymentTest.java     | 2 +-
 testing/wicket-arquillian/src/test/resources/arquillian.xml       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
----------------------------------------------------------------------
diff --git a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
index 25ecd7d..7a3e1a2 100644
--- a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
+++ b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
@@ -80,7 +80,7 @@ public abstract class AbstractDeploymentTest {
 				.resolve().withTransitivity().asFile();
 		
 		// Create the WAR.
-		return ShrinkWrap.create(WebArchive.class, "wicket-servletContext.war")
+		return ShrinkWrap.create(WebArchive.class, "wicket-servletContext8.war")
 						 // Add packages and/or classes.
 						 .addPackages(true, TestWicketJavaEEApplication.class.getPackage())
 						 // Add the persistence.xml

http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/testing/wicket-arquillian/src/test/resources/arquillian.xml b/testing/wicket-arquillian/src/test/resources/arquillian.xml
index ae8ef29..36c6008 100644
--- a/testing/wicket-arquillian/src/test/resources/arquillian.xml
+++ b/testing/wicket-arquillian/src/test/resources/arquillian.xml
@@ -27,8 +27,9 @@
     <container qualifier="wildfly" default="true">
     	<configuration>
     		<property name="jbossHome">target/wildfly-${version.wildfly_8}</property>
+            <property name="managementPort">48990</property>
             <!-- DEBUG MODE MANAGED: -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -->
-    		<property name="javaVmArguments">-Xmx128m -XX:MaxPermSize=128m -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
+    		<property name="javaVmArguments">-Djboss.socket.binding.port-offset=38000 -Xmx128m -XX:MaxPermSize=128m -Xrunjdwp:transport=dt_socket,address=48787,server=y,suspend=n
             </property>
     	</configuration>
     </container>


Re: wicket git commit: Arquillian - Use ports different than the ones in Wicket 7.x branch so BuildBot do not fail due to "port already in use"

Posted by Martin Grigorov <mg...@apache.org>.
This is how the QUnit tests work too :-)
I hope I've set the correct properties for Arquillian. I've never used it
in my projects.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Nov 18, 2015 at 11:05 PM, Sven Meier <sv...@meiers.net> wrote:

> Thanks Martin, I didn't think of that.
>
> Sven
>
>
> On 18.11.2015 22:51, mgrigorov@apache.org wrote:
>
>> Repository: wicket
>> Updated Branches:
>>    refs/heads/master dffba2ce4 -> 600c193f3
>>
>>
>> Arquillian - Use ports different than the ones in Wicket 7.x branch so
>> BuildBot do not fail due to "port already in use"
>>
>>
>> Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/600c193f
>> Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/600c193f
>> Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/600c193f
>>
>> Branch: refs/heads/master
>> Commit: 600c193f39bd0344ef565a7991f903e99c436c12
>> Parents: dffba2c
>> Author: Martin Tzvetanov Grigorov <mg...@apache.org>
>> Authored: Wed Nov 18 22:50:20 2015 +0100
>> Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
>> Committed: Wed Nov 18 22:50:20 2015 +0100
>>
>> ----------------------------------------------------------------------
>>   .../arquillian/testing/deployment/AbstractDeploymentTest.java     | 2 +-
>>   testing/wicket-arquillian/src/test/resources/arquillian.xml       | 3
>> ++-
>>   2 files changed, 3 insertions(+), 2 deletions(-)
>> ----------------------------------------------------------------------
>>
>>
>>
>> http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
>> ----------------------------------------------------------------------
>> diff --git
>> a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
>> b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
>> index 25ecd7d..7a3e1a2 100644
>> ---
>> a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
>> +++
>> b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
>> @@ -80,7 +80,7 @@ public abstract class AbstractDeploymentTest {
>>                                 .resolve().withTransitivity().asFile();
>>
>>                 // Create the WAR.
>> -               return ShrinkWrap.create(WebArchive.class,
>> "wicket-servletContext.war")
>> +               return ShrinkWrap.create(WebArchive.class,
>> "wicket-servletContext8.war")
>>                                                  // Add packages and/or
>> classes.
>>                                                  .addPackages(true,
>> TestWicketJavaEEApplication.class.getPackage())
>>                                                  // Add the
>> persistence.xml
>>
>>
>> http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/resources/arquillian.xml
>> ----------------------------------------------------------------------
>> diff --git a/testing/wicket-arquillian/src/test/resources/arquillian.xml
>> b/testing/wicket-arquillian/src/test/resources/arquillian.xml
>> index ae8ef29..36c6008 100644
>> --- a/testing/wicket-arquillian/src/test/resources/arquillian.xml
>> +++ b/testing/wicket-arquillian/src/test/resources/arquillian.xml
>> @@ -27,8 +27,9 @@
>>       <container qualifier="wildfly" default="true">
>>         <configuration>
>>                 <property
>> name="jbossHome">target/wildfly-${version.wildfly_8}</property>
>> +            <property name="managementPort">48990</property>
>>               <!-- DEBUG MODE MANAGED:
>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -->
>> -               <property name="javaVmArguments">-Xmx128m
>> -XX:MaxPermSize=128m
>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
>> +               <property
>> name="javaVmArguments">-Djboss.socket.binding.port-offset=38000 -Xmx128m
>> -XX:MaxPermSize=128m
>> -Xrunjdwp:transport=dt_socket,address=48787,server=y,suspend=n
>>               </property>
>>         </configuration>
>>       </container>
>>
>>

Re: wicket git commit: Arquillian - Use ports different than the ones in Wicket 7.x branch so BuildBot do not fail due to "port already in use"

Posted by Sven Meier <sv...@meiers.net>.
Thanks Martin, I didn't think of that.

Sven

On 18.11.2015 22:51, mgrigorov@apache.org wrote:
> Repository: wicket
> Updated Branches:
>    refs/heads/master dffba2ce4 -> 600c193f3
>
>
> Arquillian - Use ports different than the ones in Wicket 7.x branch so BuildBot do not fail due to "port already in use"
>
>
> Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
> Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/600c193f
> Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/600c193f
> Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/600c193f
>
> Branch: refs/heads/master
> Commit: 600c193f39bd0344ef565a7991f903e99c436c12
> Parents: dffba2c
> Author: Martin Tzvetanov Grigorov <mg...@apache.org>
> Authored: Wed Nov 18 22:50:20 2015 +0100
> Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
> Committed: Wed Nov 18 22:50:20 2015 +0100
>
> ----------------------------------------------------------------------
>   .../arquillian/testing/deployment/AbstractDeploymentTest.java     | 2 +-
>   testing/wicket-arquillian/src/test/resources/arquillian.xml       | 3 ++-
>   2 files changed, 3 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
> ----------------------------------------------------------------------
> diff --git a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
> index 25ecd7d..7a3e1a2 100644
> --- a/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
> +++ b/testing/wicket-arquillian/src/test/java/org/apache/wicket/arquillian/testing/deployment/AbstractDeploymentTest.java
> @@ -80,7 +80,7 @@ public abstract class AbstractDeploymentTest {
>   				.resolve().withTransitivity().asFile();
>   		
>   		// Create the WAR.
> -		return ShrinkWrap.create(WebArchive.class, "wicket-servletContext.war")
> +		return ShrinkWrap.create(WebArchive.class, "wicket-servletContext8.war")
>   						 // Add packages and/or classes.
>   						 .addPackages(true, TestWicketJavaEEApplication.class.getPackage())
>   						 // Add the persistence.xml
>
> http://git-wip-us.apache.org/repos/asf/wicket/blob/600c193f/testing/wicket-arquillian/src/test/resources/arquillian.xml
> ----------------------------------------------------------------------
> diff --git a/testing/wicket-arquillian/src/test/resources/arquillian.xml b/testing/wicket-arquillian/src/test/resources/arquillian.xml
> index ae8ef29..36c6008 100644
> --- a/testing/wicket-arquillian/src/test/resources/arquillian.xml
> +++ b/testing/wicket-arquillian/src/test/resources/arquillian.xml
> @@ -27,8 +27,9 @@
>       <container qualifier="wildfly" default="true">
>       	<configuration>
>       		<property name="jbossHome">target/wildfly-${version.wildfly_8}</property>
> +            <property name="managementPort">48990</property>
>               <!-- DEBUG MODE MANAGED: -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -->
> -    		<property name="javaVmArguments">-Xmx128m -XX:MaxPermSize=128m -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
> +    		<property name="javaVmArguments">-Djboss.socket.binding.port-offset=38000 -Xmx128m -XX:MaxPermSize=128m -Xrunjdwp:transport=dt_socket,address=48787,server=y,suspend=n
>               </property>
>       	</configuration>
>       </container>
>