This is an automated email from the ASF dual-hosted git repository. liuxun pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push: new 3389aa962 [#3827] fix(IT): Fix bugs about running frontend tests locally (#4423) 3389aa962 is described below commit 3389aa9626da81dd02333c404a44ea539067b4df Author: Qi Yu <y...@datastrato.com> AuthorDate: Thu Aug 8 20:43:46 2024 +0800 [#3827] fix(IT): Fix bugs about running frontend tests locally (#4423) ### What changes were proposed in this pull request? Run `gradle :web:build` first as some frontend test depends on web page. ### Why are the changes needed? Fix the bugs. Fix: #3827 ### Does this PR introduce _any_ user-facing change? N/A. ### How was this patch tested? N/A --- integration-test/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integration-test/build.gradle.kts b/integration-test/build.gradle.kts index 630f16c68..4506bd497 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")