summaryrefslogtreecommitdiffstats
path: root/sandbox/event/samples/event-jms/src/test/java/weather
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox/event/samples/event-jms/src/test/java/weather/WeatherTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/event/samples/event-jms/src/test/java/weather/WeatherTestCase.java b/sandbox/event/samples/event-jms/src/test/java/weather/WeatherTestCase.java
index dfff7cc666..71162c7538 100644
--- a/sandbox/event/samples/event-jms/src/test/java/weather/WeatherTestCase.java
+++ b/sandbox/event/samples/event-jms/src/test/java/weather/WeatherTestCase.java
@@ -37,6 +37,7 @@ public class WeatherTestCase {
private BrokerService jmsBroker;
private WeatherService weatherService;
+ private WeatherService weatherService2;
private SCADomain weatherSubscriberDomain;
private SCADomain weatherPublisherDomain;
@@ -50,7 +51,7 @@ public class WeatherTestCase {
weatherPublisherDomain = SCADomain.newInstance("weatherPublisher.composite");
weatherSubscriberDomain = SCADomain.newInstance("weatherSubscriber.composite");
weatherService = weatherPublisherDomain.getService(WeatherService.class, "WeatherPublisherComponent");
-
+ weatherService2 = weatherPublisherDomain.getService(WeatherService.class, "WeatherPublisherComponent2");
} catch (Throwable e) {
e.printStackTrace();
}
@@ -59,6 +60,7 @@ public class WeatherTestCase {
@Test
public void runWeatherTest() throws Exception {
weatherService.start();
+ weatherService2.start();
}