This is an automated email from the ASF dual-hosted git repository.
mchades pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.6 by this push:
new 9dbee829f [#3827] fix(integration-test): Fix bugs about running
frontend tests locally. (#4447)
9dbee829f is described below
commit 9dbee829ffefe8a615553e9a9128b969ee149092
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Aug 9 14:44:16 2024 +0800
[#3827] fix(integration-test): Fix bugs about running frontend tests
locally. (#4447)
### 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
Co-authored-by: Qi Yu <[email protected]>
---
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")