commit | 1c9892616c8819b9c44e9fd89acc9a9131173647 | [log] [tgz] |
---|---|---|
author | Arjan Tijms <arjan.tijms@gmail.com> | Wed Jun 10 12:54:13 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 10 12:54:13 2020 +0200 |
tree | 1e1702dd38a18475b65bf3ec228ee72df70590c7 | |
parent | 173bc30624bec8dbc98fdea8421ee4de60109c9b [diff] | |
parent | a226c5ff26fdf695044509dec19873285da07710 [diff] |
Merge pull request #23087 from arjantijms/fix_cdi_all_tests Fix the "cdi_all" test target
GlassFish is the reference implementation of Java EE.
Prerequisites:
Currently in the master branch artifacts are being pulled from OSSRH staging.
Run the full build:
mvn -Pstaging install
Locate the Zip distributions:
Locate staged distributions:
Running GlassFish QuickLook tests:
mvn -f appserver/tests/quicklook/pom.xml test -Dglassfish.home=appserver/distributions/glassfish/target/stage/glassfish6/glassfish
For more details, see QuickLook_Test_Instructions
Build GlassFish using the gfbuild.sh
script, OR build as stated above and copy the distributions to the bundles
folder using:
./gfbuild.sh archive_bundles
This will result in:
bundles glassfish.zip nucleus-new.zip web.zip
Run tests using:
./gftest [name of test]
Where [name of test] is one or more off:
"deployment_all" "ejb_group_1" "ejb_group_2" "ejb_group_3" "ejb_web_all" "cdi_all" "ql_gf_full_profile_all" "ql_gf_nucleus_all" "ql_gf_web_profile_all" "nucleus_admin_all" "jdbc_all" "batch_all" "persistence_all" "connector_group_1" "connector_group_2" "connector_group_3" "connector_group_4"
(note the project contains more than these tests, but they may not be up to date)
E.g.
./gftest deployment_all
glassfish6/bin/asadmin start-domain
glassfish6/bin/asadmin stop-domain