This is an automated email from the ASF dual-hosted git repository.
jshao 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 fcd2c5b3bf [#9193] improvement(lance-rest): Automatically build
necessary modules when running Lance REST integration tests. (#9194)
fcd2c5b3bf is described below
commit fcd2c5b3bf05ab7a07648fcd0cc7b32273955c21
Author: Mini Yu <[email protected]>
AuthorDate: Mon Nov 24 14:52:16 2025 +0800
[#9193] improvement(lance-rest): Automatically build necessary modules when
running Lance REST integration tests. (#9194)
### What changes were proposed in this pull request?
Running module `generic-lakehouse-catalog` first if running Lance REST
integration tests in embedded mode.
### Why are the changes needed?
It's for developer convenience.
Fix: #9193
### Does this PR introduce _any_ user-facing change?
N/A.
### How was this patch tested?
Test locally.
---
lance/lance-rest-server/build.gradle.kts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lance/lance-rest-server/build.gradle.kts
b/lance/lance-rest-server/build.gradle.kts
index 6579125188..6a825360f3 100644
--- a/lance/lance-rest-server/build.gradle.kts
+++ b/lance/lance-rest-server/build.gradle.kts
@@ -110,4 +110,11 @@ tasks {
named("generateMetadataFileForMavenJavaPublication") {
dependsOn(copyDepends)
}
+
+ test {
+ val testMode = project.properties["testMode"] as? String ?: "embedded"
+ if (testMode == "embedded") {
+ dependsOn(":catalogs:catalog-generic-lakehouse:build")
+ }
+ }
}