-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
avro class-cast-exception in quarkus test
#40190
Comments
/cc @alesj (kafka), @cescoffier (kafka), @ozangunalp (kafka) |
Thanks for reporting. It's a CLI issue. It works perfectly with |
@stuartwdouglas @geoand @maxandersen i annotate you as of could you please have a look and check? thanks a lot |
I took a quick look and I don't see any easy fix for this |
this is not a cli issue, right? its a devmode and continuous test issue, right? |
Continuous testing issue |
I tried work around using quarkus.test.flat-class-path=true but then hit:
|
so it gets the right label and will be fixed hopefully some day in future? we're providing a quarkus platform and try to "promote" continuous testing. using @QuarkusTest instead of simple unittest just to workaround the issue is somehow odd. |
For now you would have to exclude those tests for the continuous testing run |
Describe the bug
so simple that i hope its no duplicate. found similar issues but no solution...
#18776
#16804
when using builder of generated-avro-class it get
Expected behavior
no class-cast-exception
Actual behavior
class-cast-exception
How to Reproduce?
git clone https://github.com/flyinfish/avro-classloading.git
cd avro-classloading
quarkus test
Output of
uname -a
orver
Linux C70C7391 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 21.0.1.0.101 2024-01-16 LTS OpenJDK Runtime Environment Zulu21.31+16-SA (build 21.0.1.0.101+3-LTS) OpenJDK 64-Bit Server VM Zulu21.31+16-SA (build 21.0.1.0.101+3-LTS, mixed mode, sharing)
Quarkus version or git rev
3.9.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Warning: JAVA_HOME environment variable is not set. Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /home/u125015/.m2/wrapper/dists/apache-maven-3.9.6-bin/3311e1d4/apache-maven-3.9.6 Java version: 21.0.1.0.101, vendor: Azul Systems, Inc., runtime: /usr/lib/jvm/mobi-azuljdk21 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.146.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"
Additional information
No response
The text was updated successfully, but these errors were encountered: