dbusmock/mocks-manager: Don't create a pipe for started templates
Just shovel the data through our own stdin/stdout, which will end up at the right place (e.g. /dev/null). This should hopefully solve `mutter-dist` failing due to a D-Bus method call timeout in CI. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3757>
This commit is contained in:
parent
6ab36f7297
commit
e2e687c9db
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@ def StartFromTemplate(self, template):
|
|||
if template in self.mocks.keys():
|
||||
raise KeyError('Template {} already started'.format(template))
|
||||
|
||||
mock_server, mock_obj = self.dbus_mock.spawn_server_template(template, {},
|
||||
stdout=subprocess.PIPE)
|
||||
set_nonblock(mock_server.stdout)
|
||||
mock_server, mock_obj = self.dbus_mock.spawn_server_template(template, {})
|
||||
|
||||
self.mocks[template] = (mock_server, mock_obj)
|
||||
|
||||
|
|
Loading…
Reference in a new issue