diff --git a/.travis.yml b/.travis.yml index 19a05cb1d55..8ea1a406d21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -81,7 +81,6 @@ before_script: script: - mvn $TEST_FLAG $PROFILE -B $TEST_PROJECTS - after_success: - echo "Travis exited with ${TRAVIS_TEST_RESULT}" diff --git a/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java b/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java index 60ec641cb61..b7b8ea2f259 100644 --- a/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java +++ b/zeppelin-server/src/test/java/org/apache/zeppelin/integration/ZeppelinIT.java @@ -28,6 +28,7 @@ import org.junit.rules.ErrorCollector; import org.openqa.selenium.By; import org.openqa.selenium.Keys; +import org.openqa.selenium.StaleElementReferenceException; import org.openqa.selenium.TimeoutException; import org.openqa.selenium.WebElement; import org.slf4j.Logger; @@ -218,7 +219,7 @@ public void testSparkInterpreterDependencyLoading() throws Exception { clickAndWait(By.xpath("//div[@class='modal-dialog'][contains(.,'Do you want to " + "update this interpreter and restart with new settings?')]//" + "div[@class='bootstrap-dialog-close-button']/button")); - } catch (TimeoutException e) { + } catch (TimeoutException | StaleElementReferenceException e) { //Modal dialog got closed earlier than expected nothing to worry. }