You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2021/07/06 03:17:02 UTC

[jira] [Updated] (SUBMARINE-491) Fix flaky dataIT test

     [ https://issues.apache.org/jira/browse/SUBMARINE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang updated SUBMARINE-491:
--------------------------------------
    Target Version: 0.7.0  (was: 0.6.0)

> Fix flaky dataIT test
> ---------------------
>
>                 Key: SUBMARINE-491
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-491
>             Project: Apache Submarine
>          Issue Type: Bug
>          Components: Workbench
>            Reporter: Kevin Su
>            Assignee: Kevin Su
>            Priority: Trivial
>
> test-e2e frequently failed due to timeout > 60s.
> Set MAX_BROWSER_TIMEOUT_SEC to 120s, could reduce the risk of failure.
> caused by  ./submarine/submarine-test/test-e2e/src/test/java/org/apache/submarine/integration/dataIT.java
> {code:java}
> pollingWait(By.cssSelector("input[ng-reflect-name='userName']"), MAX_BROWSER_TIMEOUT_SEC).sendKeys("admin");
> pollingWait(By.cssSelector("input[ng-reflect-name='password']"), MAX_BROWSER_TIMEOUT_SEC).sendKeys("admin");
> clickAndWait(By.cssSelector("button[class='login-form-button ant-btn ant-btn-primary']"));
> pollingWait(By.cssSelector("a[routerlink='/workbench/dashboard']"), MAX_BROWSER_TIMEOUT_SEC);
> {code}
> Error message:
> {code:java}
> dataNavigation(org.apache.submarine.integration.dataIT)  Time elapsed: 62.887 sec  <<< FAILURE!8555org.openqa.selenium.TimeoutException: Expected condition failed: waiting for org.apache.submarine.AbstractSubmarineIT$1@6cdba6dc (tried for 60 second(s) with 1 SECONDS interval)8556	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)8557	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)8558	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)8559	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)8560	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)8561	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)8562	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)8563	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)8564	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)8565	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)8566	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:371)8567	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:473)8568	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)8569	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)8570	at org.apache.submarine.AbstractSubmarineIT$1.apply(AbstractSubmarineIT.java:113)8571	at org.apache.submarine.AbstractSubmarineIT$1.apply(AbstractSubmarineIT.java:111)8572	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)8573	at org.apache.submarine.AbstractSubmarineIT.pollingWait(AbstractSubmarineIT.java:111)8574	at org.apache.submarine.integration.dataIT.dataNavigation(dataIT.java:63)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org