eclipse-uprotocol / eclipse-uprotocol/up-transport-mqtt5-java

fix unit tests

Open
#7 0 comments 0 reactions 1 assignee Claimed by @r-vanooyen View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.