You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2023/01/10 23:30:17 UTC
[GitHub] [incubator-eventmesh] jonyangx opened a new issue, #2901: [Bug] EventMeshGrpcConsumerTest repeat subscribe bug
jonyangx opened a new issue, #2901:
URL: https://github.com/apache/incubator-eventmesh/issues/2901
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
### Environment
Mac
### EventMesh version
master
### What happened
expected:<1> but was:<2>
Expected :1
Actual :2
<Click to see difference>
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:89)
### How to reproduce
add test case
public void testBuildSubscription() {
List<SubscriptionItem> subscriptionItems = new ArrayList<>();
subscriptionItems.add(buildMockSubscriptionItem());
subscriptionItems.add(buildMockSubscriptionItem());
Subscription subsription = eventMeshGrpcConsumer.buildSubscription(subscriptionItems, "test_url");
Assert.assertEquals(1, subsription.getSubscriptionItemsList().size());
}
### Debug logs
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org
[GitHub] [incubator-eventmesh] xwm1992 closed issue #2901: [Bug] EventMeshGrpcConsumerTest repeat subscribe bug
Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #2901: [Bug] EventMeshGrpcConsumerTest repeat subscribe bug
URL: https://github.com/apache/incubator-eventmesh/issues/2901
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org