Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#3827] fix(IT): Fix bugs about running frontend tests locally (#4423)

Qi Yu3389aa9626da
diff --git a/integration-test/build.gradle.kts b/integration-test/build.gradle.kts
index 630f16c68e..4506bd4973 100644
--- a/integration-test/build.gradle.kts
+++ b/integration-test/build.gradle.kts
@@ -158,6 +158,9 @@ tasks.test {
dependsOn(":catalogs:catalog-hive:jar", ":catalogs:catalog-hive:runtimeJars")
dependsOn(":catalogs:catalog-kafka:jar", ":catalogs:catalog-kafka:runtimeJars")
+ // Frontend tests depend on the web page, so we need to build the web module first.
+ dependsOn(":web:build")
+
doFirst {
// Gravitino CI Docker image
environment("GRAVITINO_CI_HIVE_DOCKER_IMAGE", "datastrato/gravitino-ci-hive:0.1.13")