Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 20CB7200BB8 for ; Sat, 29 Oct 2016 04:27:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F8B1160AF5; Sat, 29 Oct 2016 02:27:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 678A2160AE4 for ; Sat, 29 Oct 2016 04:27:38 +0200 (CEST) Received: (qmail 67721 invoked by uid 500); 29 Oct 2016 02:27:37 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 67709 invoked by uid 99); 29 Oct 2016 02:27:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2016 02:27:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3862F189ACA for ; Sat, 29 Oct 2016 02:27:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.218 X-Spam-Level: X-Spam-Status: No, score=-6.218 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Asmkux3U3pDS for ; Sat, 29 Oct 2016 02:27:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 887735FC08 for ; Sat, 29 Oct 2016 02:27:24 +0000 (UTC) Received: (qmail 67636 invoked by uid 99); 29 Oct 2016 02:27:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2016 02:27:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7EE64E9437; Sat, 29 Oct 2016 02:27:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: abaker@apache.org To: commits@geode.incubator.apache.org Message-Id: <5280de789f544bc79295cde9f32071d8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-geode git commit: Add a timeout to webdriver so that UITest doesn't hang for hours if it can't load the page. Date: Sat, 29 Oct 2016 02:27:23 +0000 (UTC) archived-at: Sat, 29 Oct 2016 02:27:39 -0000 Repository: incubator-geode Updated Branches: refs/heads/develop b3d00edb3 -> d9563051a Add a timeout to webdriver so that UITest doesn't hang for hours if it can't load the page. This closes #274 Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/d9563051 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/d9563051 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/d9563051 Branch: refs/heads/develop Commit: d9563051ae5ff19123eed49334982c1a98ba08fd Parents: b3d00ed Author: Jared Stewart Authored: Thu Oct 27 14:36:51 2016 -0700 Committer: Anthony Baker Committed: Fri Oct 28 19:21:41 2016 -0700 ---------------------------------------------------------------------- .../org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/d9563051/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java ---------------------------------------------------------------------- diff --git a/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java b/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java index 6d78331..9116a80 100644 --- a/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java +++ b/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/ui/PulseAbstractTest.java @@ -219,6 +219,7 @@ public abstract class PulseAbstractTest extends PulseBaseTest { driver = new PhantomJSDriver(capabilities); driver.manage().window().maximize(); driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS); + driver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS); } @AfterClass