Skip to content

Commit 1a9ab98

Browse files
committed
Fixing Tests to run on correct SSL port
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 0edc19c commit 1a9ab98

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@ sudo: required
1313
before_install:
1414
- ./start-broker.sh
1515

16-
jobs:
17-
include:
18-
- stage: mqttv3 tests
19-
script: mvn --projects org.eclipse.paho.client.mqttv3,org.eclipse.paho.client.mqttv3.test test
20-
- stage: mqttv5 tests
21-
script: mvn --projects org.eclipse.paho.mqttv5.common,org.eclipse.paho.mqttv5.client test
22-
16+
script:
17+
- mvn clean
18+
- mvn --projects org.eclipse.paho.client.mqttv3,org.eclipse.paho.client.mqttv3.test test
19+
- mvn --projects org.eclipse.paho.mqttv5.common,org.eclipse.paho.mqttv5.client test
2320

2421
addons:
2522
apt:
2623
sources:
2724
- sourceline: 'ppa:mosquitto-dev/mosquitto-ppa'
2825
packages:
29-
- mosquitto
26+
- mosquitto

org.eclipse.paho.client.mqttv3.test/src/test/resources/test.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ SERVER_URI=tcp://localhost:1883
44
CLIENT_KEY_STORE=clientkeystore.jks
55
CLIENT_KEY_STORE_PASSWORD=password
66
CLIENT_TRUST_STORE=clientkeystore.jks
7-
SERVER_SSL_PORT=18884
8-
SERVER_WEBSOCKET_URI=ws://localhost:8080
9-
7+
SERVER_SSL_PORT=18885
8+
SERVER_WEBSOCKET_URI=ws://localhost:1883
109

1110
# The list of server URIs which may be set in the MQTT ConnectOptions for an HA testcase.
1211
# There is no default value

0 commit comments

Comments
 (0)