eclipse-uprotocol / eclipse-uprotocol/up-transport-mqtt5-java
fix unit tests
- Dominant language
- Java
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] HiveMqIntegratedTest.givenBlancoListener_whenAddingListenerAndReceivingMessages_shouldCallListener:155
expected: "some-sink"
but was: ""
[ERROR] Errors:
[ERROR] HiveMqIntegratedTest.givenListener_whenReceivingUMessageWithAllFields_shouldRouteAllFieldsToListener:360 » IllegalArgument Invalid message attributes: ValidationResult.Failure(message='Invalid Sink Uri,Invalid UPriority [UPRIORITY_CS0],Message should not have a reqid,Attributes must contain valid uProtocol UUID in id property')
[ERROR] HiveMqIntegratedTest.givenValidClientAndMessage_whenInvokeSend_shouldSendCorrectMessageToMqtt:98 » IllegalArgument Invalid message attributes: ValidationResult.Failure(message='Wrong Attribute Type [UMESSAGE_TYPE_UNSPECIFIED],Sink should not be present,Invalid UPriority [UPRIORITY_UNSPECIFIED],Message should not have a reqid,Attributes must contain valid uProtocol UUID in id property')
[ERROR] HiveMqIntegratedTest.givenValidClientAndSmallestMessage_whenInvokeSend_shouldSendCorrectMessageToMqtt:118 » IllegalArgument Invalid message attributes: ValidationResult.Failure(message='Wrong Attribute Type [UMESSAGE_TYPE_UNSPECIFIED],Sink should not be present,Invalid UPriority [UPRIORITY_UNSPECIFIED],Attributes must contain valid uProtocol UUID in id property')
[INFO]
[ERROR] Tests run: 14, Failures: 1, Errors: 3, Skipped: 3
```
Contributor guide
Assessment
This issue has not been assessed yet.