-
Notifications
You must be signed in to change notification settings - Fork 41
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
test_close_session_signal intermittently failing #166
Comments
I wonder whether this is just too short, on an autobuilder system that might be heavily-loaded? Ideally each test that waits for an event should be explicitly stopping the main loop when that event has been received, so that the timeout in I also wonder whether attributes of the |
If our test machine is under load let's keep waiting a bit longer for the signal to arrive. Closes flatpak#166
If our test machine is under load let's keep waiting a bit longer for the signal to arrive. Closes flatpak#166
This doesn't seem to be a memory error, unlike #169. I was able to reproduce it with
(it failed on the 22nd iteration) and there was no report of a use-after-free having happened. |
If our test machine is under load let's keep waiting a bit longer for the signal to arrive. Closes flatpak#166
This works around a race condition where test_close_session_signal registers a callback but on slow systems the Close signal may be sent before said callback can be registered. Closes flatpak#166
This works around a race condition where test_close_session_signal registers a callback but on slow systems the Close signal may be sent before said callback can be registered. Note that we need to keep the returned SessionResult alive so the XdpSession isn't cleaned up by the Python GC before we finish the test. Closes flatpak#166
This works around a race condition where test_close_session_signal registers a callback but on slow systems the Close signal may be sent before said callback can be registered. Note that we need to keep the returned SessionResult alive so the XdpSession isn't cleaned up by the Python GC before we finish the test. Closes flatpak#166
I'm seeing intermittent test failures with 0.8.0 (example full log) which still seem to be present in 0.8.1:
I'm not sure I understand how this can happen: if
session_closed
didn't run, then how can we leaveself.mainloop.run
without having setsession_closed_signal_received
?Is it possible that
self.mainloop
might sometimes be terminated by a leftover signal handler from a previous test, or something like that?The text was updated successfully, but these errors were encountered: