Skip to content

Commit

Permalink
Tests that are using connection to broker internally are excluded from
Browse files Browse the repository at this point in the history
integration tests.

Broker for docker is returned back to way it was before change, using
broker.ip as broker and not localhost.

Signed-off-by: Uros Mesaric Kunst <uros.mesaric-kunst@comtrade.com>
  • Loading branch information
muros-ct committed Dec 10, 2018
1 parent 7c6aa73 commit 7fe81a1
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion assembly/broker/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ENV ACTIVEMQ_OPTS "-Dcommons.db.schema.update=true \
-Dcommons.eventbus.url=\${SERVICE_BROKER_ADDR} \
-Dcertificate.jwt.private.key=file:///var/opt/activemq/key.pk8 \
-Dcertificate.jwt.certificate=file:///var/opt/activemq/cert.pem \
-Dbroker.ip=localhost"
-Dbroker.ip=broker"

EXPOSE 1883 8883 61614 61615 8161

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@broker
@integration
Feature: Device Broker Integration
Device Service integration scenarios with running broker service.
Each Scenario starts with BIRTH of device and then the communication over MQTT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@broker
@integration
Feature: Device Broker connection ip with config file
Device Service integration scenarios with running broker service.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@broker
@integration
Feature: Device Broker connection ip with System environment variable
Device Service integration scenarios with running broker service.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@broker
@integration
Feature: Device Broker connection ip not set
Device Service integration scenarios with running broker service.

Expand Down
1 change: 0 additions & 1 deletion qa/src/test/resources/features/broker/DeviceData.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@device
@integration
Feature: Device data scenarios

Scenario: Set environment variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Eurotech - initial API and implementation
###############################################################################
@device
@integration
Feature: Device lifecycle scenarios

Scenario: Set environment variables
Expand Down

0 comments on commit 7fe81a1

Please sign in to comment.