You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: adapters/http-base/src/test/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapterTest.java
+6-3
Original file line number
Diff line number
Diff line change
@@ -703,7 +703,8 @@ public void testUploadTelemetryWithTtdClosesCommandConsumerIfSendingFails() {
703
703
eq(MetricsTags.QoS.AT_MOST_ONCE),
704
704
eq(payload.length()),
705
705
eq(TtdStatus.NONE),
706
-
any());
706
+
any(),
707
+
eq(MetricsTags.Reason.UNKNOWN));
707
708
// and the command consumer is closed
708
709
verify(commandConsumer).close(eq(false), any());
709
710
}
@@ -786,7 +787,8 @@ public void testMessageLimitExceededForATelemetryMessage() {
786
787
eq(MetricsTags.QoS.AT_MOST_ONCE),
787
788
eq(payload.length()),
788
789
eq(TtdStatus.NONE),
789
-
any());
790
+
any(),
791
+
eq(MetricsTags.Reason.MESSAGE_LIMIT_EXCEEDED));
790
792
}
791
793
792
794
/**
@@ -825,7 +827,8 @@ public void testMessageLimitExceededForAnEventMessage() {
0 commit comments