Skip to content

Commit 291469e

Browse files
committed
fix publishing of test message
1 parent 11ed5ab commit 291469e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smartclide-monitoring/src/test/java/de/atb/context/monitoring/TestDataRetrieval.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ public void testDataRetrieval() throws IOException, InterruptedException {
140140
.noOfPushesInBranch(17)
141141
.build();
142142
final String message = GSON.toJson(gitMessage);
143-
publishMessage(message, ROUTING_KEY_MONITORING);
143+
publishMessage(ROUTING_KEY_MONITORING, message);
144144

145-
Thread.sleep(5000);
145+
Thread.sleep(10000);
146146

147147
// get the monitored data from the repository (latest registry)
148148
final List<GitDataModel> data =

0 commit comments

Comments
 (0)