-
Notifications
You must be signed in to change notification settings - Fork 191
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
cassandraql: itests failing on quarkus-platform #3621
Comments
It could be because of this: Line 27 in 0d8e2b0
It's probably safe to remove references to that annotation in |
I've raised a PR #3623. I would be interested in any pointers explaining why @ NonNull would make the class unloadable in quarkus-platform. |
Backported to 2.7.x: 96bd3a6 |
Seems this did not fix the problem. I see the same thing on the 2.7.1 and 2.8.0 platform upgrades. |
@jamesnetherton I don't have any idea what it could be. Would you like to have a try investigating this ticket ? |
I will try but I have no idea what's going on either 🙂 |
There is a thing that also changed in 2.7.1 and 2.8.0. It is that camel-quarkus-bom does not import quarkus-bom anymore. I don't see how it relate and I hope it's not a confusing information. It's just the only thing that pop to my mind 🤔 |
I guess the thing to try is whether it fails with a generated project from code.quarkus.io. It it ends up working ok, then we know it's something odd about the test setup on the platform. |
It's cool by the way to open these kinds of issues, as we sometimes tend to disable some tests and forget to investigate |
Turns out this is a class loading issue that only occurs with the itests. I was forced to set This problem only occurs at test time. When running the JAR or native application, it works fine. We can make some amendments to the Cassandra Camel component to avoid setting
|
Well done. Congrats for this investigation 👍 Moreover, identifying that there is no consequences for users is really cool. |
While attempting to upgrade quarkus-platform to camel-quarkus-2.8.0-M1, the cassandraql tests are failing:
Those itests are failing only on quarkus-platform, it works on cq main and even cq-2.8.x + quarkus 2.7.4.Final.
This class
org.apache.camel.quarkus.component.cassandraql.it.CustomLoadBalancingPolicy
is present in the 2.8.0-M1 itest-jar.I've experimented with
<quarkus.arc.unremovable-types>org.apache.camel.quarkus.component.cassandraql.it.CustomLoadBalancingPolicy</quarkus.arc.unremovable-types>
to no avail.While checking the dependency tree, I've noticed that quarkus-platform forces quarkus version to 2.7.4.Final while 2.8.0-M1 is built on 2.7.3.Final. I don't think it's an issue but worth mentioning.
I will skip the test on quarkus-platform as I have no more ideas.
@jamesnetherton in case it rings any bell
The text was updated successfully, but these errors were encountered: