This is an automated email from the ASF dual-hosted git repository. sciabarracom pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-testing.git
commit 5164489cb8295aa08540d21e07713f310bab27e0 Author: Michele Sciabarra <[email protected]> AuthorDate: Fri Jul 3 14:16:49 2026 +0000 collecting results --- tests/10-user-seaweedfs.sh | 2 +- tests/8-user-redis.sh | 2 +- tests/all.sh | 38 +++++++++++++++++++++++++------------- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/tests/10-user-seaweedfs.sh b/tests/10-user-seaweedfs.sh index f5c2877..293e684 100755 --- a/tests/10-user-seaweedfs.sh +++ b/tests/10-user-seaweedfs.sh @@ -27,6 +27,7 @@ fi user="demoseaweedfsuser$(date +%s)" password=$(ops -random --str 12) +ops admin deleteuser $user 2>/dev/null || true if ops admin adduser $user [email protected] $password --seaweedfs | grep "whiskuser.nuvolaris.org/$user created"; then echo SUCCESS CREATING $user $password @@ -35,7 +36,6 @@ else exit 1 fi -ops admin deleteuser $user 2>/dev/null || true ops util kube waitfor FOR=condition=ready OBJ="wsku/$user" TIMEOUT=120 diff --git a/tests/8-user-redis.sh b/tests/8-user-redis.sh index 6804a55..a89158b 100755 --- a/tests/8-user-redis.sh +++ b/tests/8-user-redis.sh @@ -28,7 +28,7 @@ fi user="demoredisuser" password=$(ops -random --str 12) -ops admin deleteuser $user 2>/dev/null|| true +ops admin deleteuser $user 2>/dev/null || true if ops admin adduser $user [email protected] $password --redis | grep "whiskuser.nuvolaris.org/$user created"; then echo SUCCESS CREATING $user else diff --git a/tests/all.sh b/tests/all.sh index 108c993..30e9441 100755 --- a/tests/all.sh +++ b/tests/all.sh @@ -35,93 +35,105 @@ case "$TYPE" in ;; esac +rm -f _results +collect() { + if "$@" + then + echo SUCCESS "$1" >> _results + else + echo FAIL "$1" >> _results + fi +} + echo "##############################################" echo "# #" echo "# DEPLOYING $TYPE #" echo "# #" echo "##############################################" -./1-deploy.sh $TYPE +collect ./1-deploy.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING SSL $TYPE #" echo "# #" echo "##############################################" -./2-ssl.sh $TYPE +collect ./2-ssl.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING REDIS $TYPE #" echo "# #" echo "##############################################" -./3-sys-redis.sh +collect ./3-sys-redis.sh echo "##############################################" echo "# #" echo "# TESTING FERRETDB (MONGO) $TYPE #" echo "# #" echo "##############################################" -./4a-sys-ferretdb.sh +collect ./4a-sys-ferretdb.sh echo "##############################################" echo "# #" echo "# TESTING POSTGRES $TYPE #" echo "# #" echo "##############################################" -./4b-sys-postgres.sh +collect ./4b-sys-postgres.sh echo "##############################################" echo "# #" echo "# TESTING SEAWEEDFS $TYPE #" echo "# #" echo "##############################################" -./5-sys-seaweedfs.sh +collect ./5-sys-seaweedfs.sh echo "##############################################" echo "# #" echo "# TESTING LOGIN $TYPE #" echo "# #" echo "##############################################" -./6-login.sh $TYPE +collect ./6-login.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING STATIC $TYPE #" echo "# #" echo "##############################################" -./7-static.sh $TYPE +collect ./7-static.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING USER REDIS $TYPE #" echo "# #" echo "##############################################" -./8-user-redis.sh $TYPE +collect ./8-user-redis.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING USER FERRETDB (MONGO) $TYPE #" echo "# #" echo "##############################################" -./9a-user-ferretdb.sh $TYPE +collect ./9a-user-ferretdb.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING USER POSTGRES $TYPE #" echo "# #" echo "##############################################" -./9b-user-postgres.sh $TYPE +collect ./9b-user-postgres.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING USER MINIO $TYPE #" echo "# #" echo "##############################################" -./10-user-seaweedfs.sh $TYPE +collect ./10-user-seaweedfs.sh $TYPE echo "##############################################" echo "# #" echo "# TESTING OPS RUNTIMES $TYPE #" echo "# #" echo "##############################################" -./14-runtime-testing.sh $TYPE +collect ./14-runtime-testing.sh $TYPE + +cat _results \ No newline at end of file
