[CI] Try to fix flaky CI (#14568)
* increase zk timeout in ci * increase await timeout in WorkflowE2ETest
This commit is contained in:
parent
f5be784044
commit
6af361a7d6
|
|
@ -33,6 +33,7 @@ export MASTER_FETCH_COMMAND_NUM=${MASTER_FETCH_COMMAND_NUM:-10}
|
|||
# Registry center configuration, determines the type and link of the registry center
|
||||
export REGISTRY_TYPE=${REGISTRY_TYPE:-zookeeper}
|
||||
export REGISTRY_ZOOKEEPER_CONNECT_STRING=${REGISTRY_ZOOKEEPER_CONNECT_STRING:-zoo1:2181,zoo2:2182,zoo3:2183}
|
||||
export REGISTRY_ZOOKEEPER_BLOCK_UNTIL_CONNECTED=30000ms
|
||||
|
||||
# Tasks related configurations, need to change the configuration if you use the related tasks.
|
||||
export HADOOP_HOME=${HADOOP_HOME:-/opt/soft/hadoop}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ export MASTER_FETCH_COMMAND_NUM=${MASTER_FETCH_COMMAND_NUM:-10}
|
|||
# Registry center configuration, determines the type and link of the registry center
|
||||
export REGISTRY_TYPE=${REGISTRY_TYPE:-zookeeper}
|
||||
export REGISTRY_ZOOKEEPER_CONNECT_STRING=${REGISTRY_ZOOKEEPER_CONNECT_STRING:-zoo1:2181,zoo2:2182,zoo3:2183}
|
||||
export REGISTRY_ZOOKEEPER_BLOCK_UNTIL_CONNECTED=30000ms
|
||||
|
||||
# Tasks related configurations, need to change the configuration if you use the related tasks.
|
||||
export HADOOP_HOME=${HADOOP_HOME:-/opt/soft/hadoop}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ import org.openqa.selenium.support.ui.WebDriverWait;
|
|||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.awaitility.Awaitility.await;
|
||||
|
||||
import java.time.Duration;
|
||||
|
||||
@DolphinScheduler(composeFiles = "docker/basic/docker-compose.yaml")
|
||||
class WorkflowE2ETest {
|
||||
private static final String project = "test-workflow-1";
|
||||
|
|
@ -201,7 +203,7 @@ class WorkflowE2ETest {
|
|||
.next()
|
||||
.rerun();
|
||||
|
||||
await().untilAsserted(() -> {
|
||||
await().timeout(Duration.ofSeconds(20)).untilAsserted(() -> {
|
||||
browser.navigate().refresh();
|
||||
|
||||
final Row row = projectPage
|
||||
|
|
|
|||
Loading…
Reference in New Issue