-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variables - test coverage #5654
Conversation
855751d
to
f379e59
Compare
...ndation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java
Outdated
Show resolved
Hide resolved
...ndation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java
Outdated
Show resolved
Hide resolved
...ndation/variables/src/main/java/org/apache/camel/quarkus/variables/it/VariablesResource.java
Outdated
Show resolved
Hide resolved
...ables/src/test/java/org/apache/camel/quarkus/variables/it/CustomRepositoryVariablesTest.java
Outdated
Show resolved
Hide resolved
...ables/src/test/java/org/apache/camel/quarkus/variables/it/CustomRepositoryVariablesTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty decent @JiriOndrusek
Concerning mock.reset(), I would vote to find another way if possible. If too difficult, maybe we just add a comment to have context in case the test is proven to be flaky on ci one day.
8b2cd18
to
d4756fe
Compare
Thank you for the review! |
f31c6c1
to
06f9e8d
Compare
d4756fe
to
56bc119
Compare
Partially fixes #5620
(the other part of the solution is the example - apache/camel-quarkus-examples#194)
This PR adds basic variables coverage into
integration-test-groups/foundation
.One test (
customVariablerepository
) is not executed in the native move, because it is not possible to remove a CDI bean for one test. IMO the tested functionality uses functions which were already part of the Camel before, therefore there is no reason to test this in native.