World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#6459][Followup] fix(test): add default sleep for DataItemInList (#6567)
Qian Xiabde2fc8f2dcb
diff --git a/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java b/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.javaindex add68777e8..85e090bcbb 100644--- a/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java+++ b/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java@@ -704,6 +704,11 @@ public class CatalogsPage extends BaseWebIT {}public boolean verifyShowDataItemInList(String itemName, Boolean isColumnLevel) {+ try {+ Thread.sleep(ACTION_SLEEP * 1000);+ } catch (Exception e) {+ LOG.error(e.getMessage(), e);+ }WebDriverWait wait = new WebDriverWait(driver, ACTION_SLEEP);String xpath ="//div[@data-refer='table-grid']"@@ -729,6 +734,11 @@ public class CatalogsPage extends BaseWebIT {}public boolean verifyNoDataItemInList(String itemName, Boolean isColumnLevel) {+ try {+ Thread.sleep(ACTION_SLEEP * 1000);+ } catch (Exception e) {+ LOG.error(e.getMessage(), e);+ }String xpath ="//div[@data-refer='table-grid']"+ "//div[contains(@class, 'MuiDataGrid-main')]"