You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2014/08/04 12:58:38 UTC

git commit: TAP5-2100: add an additional sleep to wait for the first refresh after clicking the link in the test case

Repository: tapestry-5
Updated Branches:
  refs/heads/master e087cad11 -> dca3b4875


TAP5-2100: add an additional sleep to wait for the first refresh after clicking the link in the test case


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/dca3b487
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/dca3b487
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/dca3b487

Branch: refs/heads/master
Commit: dca3b4875a9fe96fb3e6f3ec6bf90cafb086b93a
Parents: e087cad
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Mon Aug 4 12:57:53 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Mon Aug 4 12:57:53 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/dca3b487/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java
index 1178fb1..3c116f0 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/ZoneRefreshTest.java
@@ -60,6 +60,7 @@ public class ZoneRefreshTest extends App1TestCase
        waitForAjaxRequestsToComplete();
 
        // assert that counter value didn't changed
+       Thread.sleep(2000l);
        assertText("zone", "true");
        Thread.sleep(2000l);
        assertText("zone", "true");