Issue #23507 gftest unpacked glassfish over the previous execution's garbage
diff --git a/appserver/tests/gftest.sh b/appserver/tests/gftest.sh
index cd64be0..96382a0 100755
--- a/appserver/tests/gftest.sh
+++ b/appserver/tests/gftest.sh
@@ -50,6 +50,9 @@
   # setup the local repository
   # with the archived chunk from the pipeline build stage
   cat ${WORKSPACE}/bundles/_maven-repo* | tar -xvz -f - --overwrite -m -p -C ${HOME}/.m2/repository
+  echo "Removing old glassfish directory: ${S1AS_HOME}";
+  rm -rf "${S1AS_HOME}";
 fi
 
-"$@"
\ No newline at end of file
+"$@"
+
diff --git a/gftest.sh b/gftest.sh
index f6ef32c..b778032 100755
--- a/gftest.sh
+++ b/gftest.sh
@@ -33,6 +33,7 @@
        "ejb_group_1"
        "ejb_group_2"
        "ejb_group_3"
+       "ejb_group_embedded"
        "ejb_web_all"
        "cdi_all"
        "ql_gf_full_profile_all"
@@ -51,6 +52,9 @@
     declare -a arr=("$@")
 fi
 
+echo "Removing old glassfish directory: ${S1AS_HOME}";
+rm -rf "${S1AS_HOME}";
+
 printf '\n Running tests for: \n\n'
 printf '* %s\n' "${arr[@]}"