You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eventmesh.apache.org by "Alonexc (via GitHub)" <gi...@apache.org> on 2023/03/22 07:56:09 UTC
[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #3511: [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ ConfigurationHolderTest]
Alonexc opened a new issue, #3511:
URL: https://github.com/apache/incubator-eventmesh/issues/3511
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
### Enhancement Request
![image](https://user-images.githubusercontent.com/91315508/226835498-58ae8cfb-6064-404f-bca9-510be23c62d3.png)
located at:
eventmesh-storage/eventmesh-storage-rabbitmq/src/test/java/org/apache/eventmesh/storage/rabbitmq/config/ConfigurationHolderTest.java line 50-60
analysis and explanation:
The standard assertions library methods such as org.junit.Assert.assertEquals, and org.junit.Assert.assertSame expect the first argument to be the expected value and the second argument to be the actual value. For AssertJ, it’s the other way around, the argument of org.assertj.core.api.Assertions.assertThat is the actual value, and the subsequent calls contain the expected values. Swap them, and your test will still have the same outcome (succeed/fail when it should) but the error messages will be confusing.
### Describe the solution you'd like
Swap actual and expected values.
### Are you willing to submit PR?
- [ ] 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: issues-unsubscribe@eventmesh.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
Re: [I] [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest] (eventmesh)
Posted by "xwm1992 (via GitHub)" <gi...@apache.org>.
xwm1992 closed issue #3511: [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest]
URL: https://github.com/apache/eventmesh/issues/3511
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
Re: [I] [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest] (eventmesh)
Posted by "sumitdethe27 (via GitHub)" <gi...@apache.org>.
sumitdethe27 commented on issue #3511:
URL: https://github.com/apache/eventmesh/issues/3511#issuecomment-1634155755
Sorry for the delay @Alonexc , I am working on this, and provide a pr asap
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] sumitdethe27 commented on issue #3511: [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest]
Posted by "sumitdethe27 (via GitHub)" <gi...@apache.org>.
sumitdethe27 commented on issue #3511:
URL: https://github.com/apache/eventmesh/issues/3511#issuecomment-1585449002
Hey is this issue available, I would like to work on it.
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
Re: [I] [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest] (eventmesh)
Posted by "Alonexc (via GitHub)" <gi...@apache.org>.
Alonexc commented on issue #3511:
URL: https://github.com/apache/eventmesh/issues/3511#issuecomment-1596365822
@sumitdethe27 This issue is not yet fixed, your pr is welcome.
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
[GitHub] [eventmesh] sumitdethe27 commented on issue #3511: [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest]
Posted by "sumitdethe27 (via GitHub)" <gi...@apache.org>.
sumitdethe27 commented on issue #3511:
URL: https://github.com/apache/eventmesh/issues/3511#issuecomment-1583027531
Hey @Alonexc
is this issue available, i would like to work on it.
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org
Re: [I] [Enhancement] Swap these 2 arguments so they are in the correct order: expected value, actual value.[ConfigurationHolderTest] (eventmesh)
Posted by "Alonexc (via GitHub)" <gi...@apache.org>.
Alonexc commented on issue #3511:
URL: https://github.com/apache/eventmesh/issues/3511#issuecomment-1635526995
It's okay, your contributions are welcome.
--
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: issues-unsubscribe@eventmesh.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: issues-help@eventmesh.apache.org