commit | 11ed0f32cfebe53204a8a9f8295c4af47464a417 | [log] [tgz] |
---|---|---|
author | David Matějček <dmatej@seznam.cz> | Sat Apr 09 01:02:56 2022 +0200 |
committer | David Matějček <dmatej@seznam.cz> | Tue Apr 12 22:20:31 2022 +0200 |
tree | fe7723e6f75813dc4a236d41bd1ec3f7ed6f90c7 | |
parent | cc9eb2eece14335fb24c7752ce94c376ba7d5c98 [diff] |
Stabilized admin-tests - stop-removefiles-start principle replaced by asadmin commands (junit extension) - discovery: detached jobs don't survive restarting domain, synchronous do. Signed-off-by: David Matějček <dmatej@seznam.cz>
Eclipse GlassFish is a Jakarta EE compatible implementation sponsored by the Eclipse Foundation.
The Zip distributions can be found on following paths:
:warning: Because GF7 is now in intensive development and depends on external snapshot dependencies, you have to build these dependencies first: mvn clean install -f ./snapshots/pom.xml
mvn clean install
- Full build including automatic QA and maven managed tests. Typical time: 5 minutes.mvn clean install -Pfast
- Building all distribution artifacts, running just unit tests, QA and integration tests excluded. Typical time: 3 minutes.mvn clean install -Pfastest
- Building all distribution artifacts, excluded all QA and testing. Typical time: 1.5 minutes.You can use also some maven optimizations, ie. using -T4C
to allow parallel build.
staging
- In some development stages may happen that some dependencies are available just in OSSRH staging repository. Then you have to use this profile, which is not enabled by default.jacoco
- enables the JaCoCo agent in tests, so you can import it's output to you editor, ie. Eclipse, and see the code coverage.jacoco-merge
- merges all JaCoCo output files found in subdirectories and merges them into one. It is useful to see code which wasn't even touched by tests../updateVersion.sh 6.99.99.experimental
- useful for custom distributions, so you can avoid conflicts with version in master branch../runtests.sh [testBlockName] [?glassfishVersion]
- useful to run old additional tests locally./validateJars.sh
- uses the bnd command to check OSGI dependencies in all target directoriesAfter building the GlassFish distribution artifacts you can execute also additional tests managed by bash scripts. They are quite old and have high technical debt, but at this moment they still provide useful service.
mvn -f appserver/tests/quicklook/pom.xml test -Dglassfish.home=$(pwd)/appserver/distributions/glassfish/target/stage/glassfish7/glassfish
:warning: if the script fails, sometimes it doesn't stop the domain and you have to do that manually.
./runtests.sh batch_all
- Usual time: 1 minute
./runtests.sh cdi_all
- Usual time: 6 minutes
./runtests.sh connector_group_1
- Usual time: 16 minutes
./runtests.sh connector_group_2
- Usual time: 3 minutes
./runtests.sh connector_group_3
- Usual time: 4 minutes
./runtests.sh connector_group_4
- Usual time: 16 minutes
./runtests.sh deployment_all
- Usual time: 8 minutes
./runtests.sh ejb_group_1
- Usual time: 10 minutes
./runtests.sh ejb_group_2
- Usual time: 7 minutes
./runtests.sh ejb_group_3
- Usual time: 18 minutes
./runtests.sh ejb_group_embedded
- Usual time: 4 minutes
./runtests.sh ejb_group_all
- Usual time: 4 minutes
./runtests.sh jdbc_all
- Usual time: 20 minutes
./runtests.sh naming_all
- Usual time: 2 minutes
./runtests.sh persistence_all
- Usual time: 3 minutes
./runtests.sh security_all
- Usual time: 8 minutes
./runtests.sh web_jsp
- Usual time: 8 minutes
./runtests.sh webservice_all
- Usual time: 10 minutes
./gfbuild.sh archive_bundles && ./gftest.sh ejb_web_all
- Usual time: 4 minutes
./gfbuild.sh archive_bundles && ./gftest.sh nucleus_admin_all
- Not fixed yet
./gfbuild.sh archive_bundles && ./gftest.sh ql_gf_nucleus_all
- Not fixed yet
./gfbuild.sh archive_bundles && ./gftest.sh ql_gf_web_profile_all
- Usual time: 2 minutes
./gfbuild.sh archive_bundles && ./gftest.sh ql_gf_full_profile_all
- Usual time: 4 minutes
many tests under appserver/tests subdirectories; they are still waiting for someone's attention.
glassfish7/bin/asadmin start-domain
glassfish7/bin/asadmin stop-domain
This section is dedicated to companies offering products and services around Eclipse GlassFish.
The Eclipse GlassFish project does not endorse or recommend any of the companies on this page. We love all our supporters equally.
Professional Services and Enterprise support are available through following companies: