Re: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Sven Meier

See WICKET-5147

Sven


On 05/09/2013 06:47 PM, Paul Bors wrote:

Or is this just one of the major architectural changes?

  


I simulate the user logging into the web app between test methods and my
tests that used to run in 1.5.9 now crash in 6.7.0 with:

  


java.lang.OutOfMemoryError: GC overhead limit exceeded

 at javax.servlet.http.Cookie.clone(Cookie.java:540)

 at
org.apache.wicket.protocol.http.mock.Cookies.copyOf(Cookies.java:44)

 at
org.apache.wicket.protocol.http.mock.MockHttpServletRequest.getCookies(MockH
ttpServletRequest.java:488)

 at
org.apache.wicket.util.tester.BaseWicketTester.transferRequestCookies(BaseWi
cketTester.java:448)

 at
org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTest
er.java:689)

 at
org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTest
er.java:752)

 at
org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTest
er.java:631)

 at
org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWicketTest
er.java:603)

 at
org.apache.wicket.util.tester.BaseWicketTester.submitForm(BaseWicketTester.j
ava:1993)

 at
org.apache.wicket.util.tester.FormTester.submit(FormTester.java:692)

  


Bummer!

  


~ Thank you,

   Paul Bors

  

  

  






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Paul Bors
The Jira service is temporary down most likely for maintenance.
https://issues.apache.org/jira/browse/WICKET-5147

Is there an alternate fix that I could apply in the mid-time?

~ Thank you,
  Paul Bors

-Original Message-
From: Sven Meier [mailto:s...@meiers.net] 
Sent: Thursday, May 09, 2013 1:42 PM
To: users@wicket.apache.org
Subject: Re: Are there any major changes between Wicket 1.5.x and 6.x when
it comes to the unit tests?

See WICKET-5147

Sven


On 05/09/2013 06:47 PM, Paul Bors wrote:
 Or is this just one of the major architectural changes?

   

 I simulate the user logging into the web app between test methods and 
 my tests that used to run in 1.5.9 now crash in 6.7.0 with:

   

 java.lang.OutOfMemoryError: GC overhead limit exceeded

  at javax.servlet.http.Cookie.clone(Cookie.java:540)

  at
 org.apache.wicket.protocol.http.mock.Cookies.copyOf(Cookies.java:44)

  at
 org.apache.wicket.protocol.http.mock.MockHttpServletRequest.getCookies
 (MockH
 ttpServletRequest.java:488)

  at
 org.apache.wicket.util.tester.BaseWicketTester.transferRequestCookies(
 BaseWi
 cketTester.java:448)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:689)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:752)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:631)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:603)

  at
 org.apache.wicket.util.tester.BaseWicketTester.submitForm(BaseWicketTe
 ster.j
 ava:1993)

  at
 org.apache.wicket.util.tester.FormTester.submit(FormTester.java:692)

   

 Bummer!

   

 ~ Thank you,

Paul Bors

   

   

   




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Paul Bors
N/M I see Martin's reply to another related thread:
http://wicket-users.markmail.org/search/?q=WICKET-5147#query:WICKET-5147+pag
e:1+mid:7azrdtispbwegxaq+state:results

Thanks guys!

-Original Message-
From: Paul Bors [mailto:p...@bors.ws] 
Sent: Thursday, May 09, 2013 2:18 PM
To: users@wicket.apache.org
Subject: RE: Are there any major changes between Wicket 1.5.x and 6.x when
it comes to the unit tests?

The Jira service is temporary down most likely for maintenance.
https://issues.apache.org/jira/browse/WICKET-5147

Is there an alternate fix that I could apply in the mid-time?

~ Thank you,
  Paul Bors

-Original Message-
From: Sven Meier [mailto:s...@meiers.net]
Sent: Thursday, May 09, 2013 1:42 PM
To: users@wicket.apache.org
Subject: Re: Are there any major changes between Wicket 1.5.x and 6.x when
it comes to the unit tests?

See WICKET-5147

Sven


On 05/09/2013 06:47 PM, Paul Bors wrote:
 Or is this just one of the major architectural changes?

   

 I simulate the user logging into the web app between test methods and 
 my tests that used to run in 1.5.9 now crash in 6.7.0 with:

   

 java.lang.OutOfMemoryError: GC overhead limit exceeded

  at javax.servlet.http.Cookie.clone(Cookie.java:540)

  at
 org.apache.wicket.protocol.http.mock.Cookies.copyOf(Cookies.java:44)

  at
 org.apache.wicket.protocol.http.mock.MockHttpServletRequest.getCookies
 (MockH
 ttpServletRequest.java:488)

  at
 org.apache.wicket.util.tester.BaseWicketTester.transferRequestCookies(
 BaseWi
 cketTester.java:448)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:689)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:752)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:631)

  at
 org.apache.wicket.util.tester.BaseWicketTester.processRequest(BaseWick
 etTest
 er.java:603)

  at
 org.apache.wicket.util.tester.BaseWicketTester.submitForm(BaseWicketTe
 ster.j
 ava:1993)

  at
 org.apache.wicket.util.tester.FormTester.submit(FormTester.java:692)

   

 Bummer!

   

 ~ Thank you,

Paul Bors

   

   

   




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org