-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Grpc Server QuarkusIntegrationTest fail #18706
Comments
When I ran |
Hi @geoand when i launch the tests it
In mode debug test pass without errors |
Does the failure happen every time? Also, could you paste the contents of |
Hi @geoand Yes, here log
|
Hi @geoand I am investigating the problem because the native tests are not executed, I think the problem is in the method:
I have implemented my custom NativeImageStartedNotifier (sleep 3 seconds), test pass without errors
I think that in the method it has wrong is the fixed value of 10 seconds in the variable signal, Shouldn't that be the value of waitTimeSeconds?
|
Indeed, that has already been fixed in Mind giving that version a try? |
Hi @geoand I have same error
It's a race condition issue, now the error is because the log file does not exist Here is an error trace missing when the log file is not found Wouldn't it be better here to increase the time to 500ms?, Have more time to ensure that the log file exists |
Are you sure that is what happening? |
What happens if you simply run:
after the test has failed? Is the log file created? |
Hi @geoand Yes, create file log, when I put a debug and break point it test pass without errors.
|
I'll increase the timeout and hopefully that will fix the issue |
@geoand did you do it in the end? |
Good think you mentioned it! I did in #18758. So I'll close this. Please reopen if the issue persists with |
@geoand it worked Thanks for the help |
👍🏼 |
Describe the bug
I'm not completely sure if this is a bug.
I have a project that I am using quarkus with grpc server that bump to the latest version (2.0.2.Final), the run mvn clean install -Pnative, the test it fails with the error
Expected behavior
I expected that executing mvn clean install -Pnative the test will pass without errors
Actual behavior
The build fails with the error:
How to Reproduce?
Link to a project
Steps to reproduce the behavior:
Output of
uname -a
orver
Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64
Output of
java -version
openjdk version "11.0.10" 2021-01-19
GraalVM version (if different from Java)
OpenJDK Runtime Environment GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06) OpenJDK 64-Bit Server VM GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)
Quarkus version or git rev
2.0.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Java version: 11.0.10, vendor: GraalVM Community, runtime: /Users/chabir/.sdkman/candidates/java/21.0.0.r11-grl Default locale: es_ES, platform encoding: UTF-8 OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
Additional information
Before it worked without problems with version 1.9.2.Final
The text was updated successfully, but these errors were encountered: