-
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
oidc-client-graphql tests are failing with NPE #36469
oidc-client-graphql tests are failing with NPE #36469
Comments
/cc @jmartisk (graphql), @pedroigor (oidc), @phillip-kruger (graphql) |
It all passes on my laptop:
|
As I said in the comment where I pinged @jmartisk , it's probably a race condition (that happens more regularly on CI because it's slow). |
I created a PR to disable this test as it's very disruptive: #36493 . |
A couple of comments here:
|
/cc @jmartisk ^ |
Looks like some more work is needed at the |
I suppose reverting the PR will hopefully not be necessary, Jan will be back tomorrow, so he'll have enough time to fix it and re-enable to tests to confirm. |
I think that shouldn't be necessary, as long as recorder steps are executed sequentially and not in parallel
That would be nice but quite unwieldy given that three different projects write to it (two Quarkus extensions and smallrye-graphql itself) The problem here arises because we basically depend on the order of recorder steps. If Line 47 in 0a8efce
Line 26 in 0a8efce
dynamicHeaders == null , and when later merging the OIDC client part into that config, it causes the NPE. I'm going to fix it on the smallrye side to make sure that dynamicHeaders is never null. I want the client configuration merging logic to be so robust that the order of steps doesn't matter, but in this one specific case it did matter, so I'll fix it.
|
With smallrye/smallrye-graphql#1939 I have run the test 140 times and got zero failures |
Let's keep it open until we upgrade to a fixed smallrye-graphql version (and re-enable the test) |
Describe the bug
#36375 introduced
oidc-client-grapghql
, some PRs are failing with:Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: