Skip to content
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

pyportaltests: work around potential session close timeout failures #168

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

whot
Copy link
Contributor

@whot whot commented Sep 10, 2024

This may or may not fix #166 but ever optimistically we go for the former.

cc @smcv, @GeorgesStavracas

For now we keep the mainloop property with a default timeout of 2000ms
but future tests can make this more specific.
If our test machine is under load let's keep waiting a bit longer for
the signal to arrive.

Closes flatpak#166
@smcv
Copy link
Contributor

smcv commented Sep 10, 2024

Thanks, I'll try applying this to the packages where I saw #166 and see what happens.

@smcv
Copy link
Contributor

smcv commented Sep 11, 2024

This isn't solving the issue for me. When I run the test in a loop, I'm variously either seeing success, the same failure mode as before, or a segfault inside libportal.

Following up on the segfault is probably the best route, since fixing that might also fix #166.

@smcv
Copy link
Contributor

smcv commented Sep 11, 2024

Following up on the segfault is probably the best route

#169

@smcv smcv marked this pull request as draft September 19, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_close_session_signal intermittently failing
2 participants