You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2011/10/06 17:20:24 UTC

svn commit: r1179660 - /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy

Author: hlship
Date: Thu Oct  6 15:20:24 2011
New Revision: 1179660

URL: http://svn.apache.org/viewvc?rev=1179660&view=rev
Log:
Fix semi-broken tests via a sleep, rather than attempting to wait on Ajax operations

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy?rev=1179660&r1=1179659&r2=1179660&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy Thu Oct  6 15:20:24 2011
@@ -16,19 +16,19 @@ class PageCatalogTests extends TapestryC
 
         click "link=clear the cache"
 
-        waitForAjaxRequestsToComplete "500"
+        sleep 500
 
         assertTextPresent "Page cache cleared"
 
         click "link=Run the GC"
 
-        waitForAjaxRequestsToComplete "500"
+        sleep 500
 
         assertTextPresent "Garbage collection freed"
 
         click "link=load all pages"
 
-        waitForAjaxRequestsToComplete "2000"
+        sleep 1000
 
         assertTextPresent "new pages for selector"
     }