diff options
author | Artur Signell <artur@vaadin.com> | 2013-11-29 18:18:04 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-12-02 09:24:57 +0000 |
commit | c171850a2c6fab38a81b2d0ab92d3433b2cf558c (patch) | |
tree | 95241869930db868deb17b8090c9c8a705dc51f8 /uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java | |
parent | ea46029ea154cc018525219f06095817339607e8 (diff) | |
download | vaadin-framework-c171850a2c6fab38a81b2d0ab92d3433b2cf558c.tar.gz vaadin-framework-c171850a2c6fab38a81b2d0ab92d3433b2cf558c.zip |
Disable client timeout so websockets are not disconnected when idle (#13015)
Updated sleep method to ensure that long sleeps can be performed without losing
the connection to the browser
Change-Id: I4f29d946e7a9a400e303e3a574876e1bc2d56773
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java b/uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java index 8f10f0fbba..0d71c21118 100644 --- a/uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java +++ b/uitest/src/com/vaadin/tests/push/PushLargeDataStreamingTest.java @@ -24,7 +24,7 @@ import com.vaadin.tests.tb3.MultiBrowserTest; public class PushLargeDataStreamingTest extends MultiBrowserTest { @Test - public void testStreamingLargeData() { + public void testStreamingLargeData() throws InterruptedException { openTestURL(); // Without this there is a large chance that we will wait for all pushes @@ -38,7 +38,7 @@ public class PushLargeDataStreamingTest extends MultiBrowserTest { } - private void push() { + private void push() throws InterruptedException { // Wait for startButton to be present waitForElementToBePresent(vaadinLocatorById("startButton")); |