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
Avoid OpenQA::IPC::ipc being called premetaure #1185
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Current coverage is 85.31% (diff: 85.71%)@@ master #1185 diff @@
==========================================
Files 103 103
Lines 7045 7046 +1
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 5903 6011 +108
+ Misses 1142 1035 -107
Partials 0 0
|
aaannz
approved these changes
Jan 18, 2017
No idea yet where the 220 misses come from now |
coolo
force-pushed
the
restart_on_deployment
branch
from
January 18, 2017 15:19
86e1cfa
to
e9fabe8
Compare
|
coolo
force-pushed
the
restart_on_deployment
branch
2 times, most recently
from
January 18, 2017 15:49
add90cd
to
ad79966
Compare
This singleton is very dangerous as if you call it wrong the first time, it will stick to that. And that's what happened in the full-stack test. The websocket server was calling the scheduler with ipc->scheduler during its startup phase - and this set the singleton to its own event loop. Just that we never called that event loop - and so the dbus service was stuck on the bus and caused everything else to lockup. I overreacted a bit and now expect the fake tests to set an environment variable if they want the testing event loop and the websocket service to always call ipc with 1 - which will use the mojo loop
coolo
force-pushed
the
restart_on_deployment
branch
from
January 18, 2017 16:04
ad79966
to
c5398fe
Compare
coolo
pushed a commit
that referenced
this pull request
Jan 18, 2017
commit b597cd6 Author: Stephan Kulow <coolo@kde.org> AuthorDate: Wed Jan 18 17:17:10 2017 +0100 Commit: GitHub <noreply@github.com> CommitDate: Wed Jan 18 17:17:10 2017 +0100 Avoid OpenQA::IPC::ipc being called premetaure (#1185) This singleton is very dangerous as if you call it wrong the first time, it will stick to that. And that's what happened in the full-stack test. The websocket server was calling the scheduler with ipc->scheduler during its startup phase - and this set the singleton to its own event loop. Just that we never called that event loop - and so the dbus service was stuck on the bus and caused everything else to lockup. I overreacted a bit and now expect the fake tests to set an environment variable if they want the testing event loop and the websocket service to always call ipc with 1 - which will use the mojo loop
I would have preferred the typo premetaure to be fixed - unless I should learn this new word? |
Once it is in git history it is as good as in Oxford dictionary. :D |
I think you should give my fingers credit :) The UK layout is just not good to my typing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This singleton is very dangerous as if you call it wrong the first time,
it will stick to that. And that's what happened in the full-stack test.
The websocket server was calling the scheduler with ipc->scheduler during
its startup phase - and this set the singleton to its own event loop.
Just that we never called that event loop - and so the dbus service was
stuck on the bus and caused everything else to lockup.
I overreacted a bit and now expect the fake tests to set an environment
variable if they want the testing event loop and the websocket service
to always call ipc with 1 - which will use the mojo loop