This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.8 by this push:
new e0f59265a8 [#6766] fix (gvfs-fuse): Fix the test failed when setting
the project version without SNAPSHOT (#6769)
e0f59265a8 is described below
commit e0f59265a8fa8ca90a7fb0c737a3b4154aefd376
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Mar 27 17:22:24 2025 +0800
[#6766] fix (gvfs-fuse): Fix the test failed when setting the project
version without SNAPSHOT (#6769)
### 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
Co-authored-by: Yuhui <[email protected]>
---
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
+}