-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Allow multiple loginUser calls #43803
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
Conversation
Hi! I'm not sure about this change, as it favors I guess it's worth investigating and trying out @stof's proposal in #43266 (comment) . Is anyone up to trying it out? Or let me know if my thinking is completely wrong about this :) |
@wouterj on a high level I do not even understand why original change breaks something
If I understood your and stof's suggestions correctly I'm supposed to make some intermediate |
The issue happens because the reboot is occurring at the beginning of What we need is to make |
Ok. thanks @stof now I get this high level "overview of a problem. So basically it is unsolvable from client side for now. Then, just out of curiosity. Why "old way" with |
@stof as i said above, we are NOT rebooting ( |
This can be worked around by changing (the recipe defaults) from: when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file to when@test:
framework:
test: true
session:
storage_factory_id: ~
storage_id: session.storage.mock_file I don't know why yet. |
So after some debugging, the statefull issue is indeed not caused by the kernel rebooting, but instead on unexpected behavior when parsing the response cookies. See #44565 for a fix. I didn't figure out how to fix stateless firewalls, if anyone wants to try debugging that it would be great. |
confirmed #44565 fixes the issue. can be closed here |
This PR introduced a regression when calling multiple times
loginUser
within the same test.@Philosoft provided a simple reproducer here.