This is an automated email from the ASF dual-hosted git repository.
yuqi4733 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 b238e8fcd0 [#6766] fix (gvfs-fuse): Fix the test failed when setting
the project version without SNAPSHOT (#6767)
b238e8fcd0 is described below
commit b238e8fcd0585de2e6a200c82f35ce145c4fcc9f
Author: Yuhui <[email protected]>
AuthorDate: Thu Mar 27 16:45:13 2025 +0800
[#6766] fix (gvfs-fuse): Fix the test failed when setting the project
version without SNAPSHOT (#6767)
### What changes were proposed in this pull request?
Fix the gvfs-fuse test to copy the aws-bundle JAR without a name that
contains SNAPSHOT
### Why are the changes needed?
Fix: #6766
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manually test
---
clients/filesystem-fuse/tests/bin/gravitino_server.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/clients/filesystem-fuse/tests/bin/gravitino_server.sh
b/clients/filesystem-fuse/tests/bin/gravitino_server.sh
index 0f9b0fdab9..baec9a294c 100644
--- a/clients/filesystem-fuse/tests/bin/gravitino_server.sh
+++ b/clients/filesystem-fuse/tests/bin/gravitino_server.sh
@@ -60,11 +60,11 @@ create_resource() {
start_gravitino_server() {
echo "Starting Gravitino Server"
# copy the aws-bundle to the server
- if ls
$GRAVITINO_SERVER_DIR/catalogs/hadoop/libs/gravitino-aws-bundle-*-incubating-SNAPSHOT.jar
1>/dev/null 2>&1; then
+ if ls $GRAVITINO_SERVER_DIR/catalogs/hadoop/libs/gravitino-aws-bundle-*.jar
1>/dev/null 2>&1; then
echo "File exists, skipping copy."
else
echo "Copying the aws-bundle to the server"
- cp
$GRAVITINO_HOME/bundles/aws-bundle/build/libs/gravitino-aws-bundle-*-incubating-SNAPSHOT.jar
\
+ cp
$GRAVITINO_HOME/bundles/aws-bundle/build/libs/gravitino-aws-bundle-*.jar \
$GRAVITINO_SERVER_DIR/catalogs/hadoop/libs
fi
@@ -113,4 +113,4 @@ start_gravitino_server() {
stop_gravitino_server() {
$GRAVITINO_SERVER_DIR/bin/gravitino.sh stop
echo "Gravitino Server stopped"
-}
\ No newline at end of file
+}