hornetq-version-tests
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:HornetQ Version Test Framework
# Tests compatibility of different HornetQ versions

Runs tests using different HornetQ versions for the client and server.

There are three different modules, and these test different scenarios:

- fail-over
- high-availability
- single-server

To run all tests, just issue

```
export MAVEN_OPTS="-Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
mvn verify
```
(note: On Windows platform you need use 'set' instead of 'export':
set MAVEN_OPTS=-Dcom.sun.management.jmxremote.port=3000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
and do not add quotes)

### Failure to find org.hornetq.tests:joram-tests:jar:tests

We reuse tests from the [Joram tests] Maven sub-project of the HornetQ
project.

[Joram tests]: 

Currently this JAR of test code is not deployed to Maven repositories. So in order to run the tests you need to clone [HornetQ's git project] and install this JAR to your local Maven repository.

[HornetQ's git project]: 

## Changing the versions used

In order to change the versions used, you should make use of the exiting Maven profiles (or create a new profile if necessary).

Select one profile to set the server version and one profile to set the client version. Example:

```
mvn -P 2.3.0-SNAPSHOT-SERVER,2.2.19-CLIENT verify
```

The _default_ profile determines the default versions.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。