Iain Lane
7aa83536af
gio/tests/gdbus-proxy: Make proxy_ready
test start the server after the proxy
...
There's a race here, as revealed by Debian's buildds.
We call g_dbus_proxy_new() to create a proxy for the test server, with
callback proxy_ready() Then we call g_spawn_command_line_async() to
start the test server, and then start the main loop.
proxy_ready() assumes that the test server hasn't been started when it
is called. But there is no guarantee that these asynchronous operations
involving spawning a process won't happen in a different order that mean
the bus name *does* have an owner.
What we can do is move starting the server inside of proxy_ready(), so
we know that the test server isn't started until after the proxy is
created. We also add an assertion to check that it is indeed not running
before we execute it.
2019-01-18 15:26:11 +00:00
..
2018-12-18 11:43:08 +01:00
2017-07-13 19:03:39 -04:00
2018-09-23 17:01:04 +01:00
2019-01-15 15:11:43 +00:00
2019-01-15 15:11:43 +00:00
2017-10-11 10:22:23 +01:00
2019-01-15 15:11:43 +00:00
2018-10-23 09:45:12 -04:00
2013-10-24 13:55:33 -04:00
2014-01-01 17:59:20 -05:00
2018-12-17 17:16:04 +00:00
2018-12-14 15:04:11 +00:00
2018-12-17 17:16:03 +00:00
2018-12-17 17:16:03 +00:00
2018-12-17 17:16:03 +00:00
2018-12-17 17:16:04 +00:00
2018-12-17 17:16:03 +00:00
2018-12-17 17:16:03 +00:00
2018-12-17 17:16:04 +00:00
2018-12-17 17:16:04 +00:00
2014-09-09 14:11:38 -04:00
2015-08-31 13:59:48 -04:00
2013-09-29 17:48:40 -04:00
2015-02-23 10:40:40 -05:00
2014-01-01 22:01:15 -05:00
2013-12-15 21:07:12 -05:00
2017-05-29 19:53:34 +02:00
2017-11-03 12:04:33 +00:00
2016-04-26 15:20:16 +02:00
2015-08-31 13:59:48 -04:00
2014-06-28 14:06:36 -04:00
2018-02-16 17:38:26 +00:00
2018-09-04 20:24:25 +02:00
2018-06-29 12:13:32 +01:00
2017-10-11 12:56:11 +01:00
2017-07-13 19:03:39 -04:00
2018-12-17 17:16:04 +00:00
2018-06-29 12:13:32 +01:00
2018-04-26 15:19:17 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-11-13 10:34:09 +00:00
2018-09-12 15:42:11 +00:00
2015-05-11 20:24:56 +01:00
2018-09-13 13:16:40 +02:00
2018-01-03 11:08:37 +00:00
2018-11-26 11:45:30 -05:00
2018-06-13 11:01:56 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-07-05 13:13:59 +01:00
2018-04-27 16:46:19 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-04-10 10:38:31 +01:00
2018-10-04 10:45:45 +02:00
2018-10-04 10:45:45 +02:00
2018-11-12 15:45:20 +09:00
2017-04-10 10:38:31 +01:00
2018-07-09 13:28:02 +02:00
2017-05-29 19:53:34 +02:00
2018-10-03 22:14:38 +02:00
2017-05-29 19:53:34 +02:00
2018-12-14 15:04:11 +00:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-06-29 12:13:32 +01:00
2018-10-04 10:45:45 +02:00
2017-05-29 19:53:34 +02:00
2018-11-10 03:53:32 +00:00
2017-05-29 19:53:34 +02:00
2019-01-18 15:26:11 +00:00
2018-12-14 15:04:11 +00:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2019-01-15 15:11:43 +00:00
2018-10-04 10:45:45 +02:00
2018-09-12 15:42:11 +00:00
2017-05-29 19:53:34 +02:00
2018-01-09 13:10:38 +00:00
2018-08-16 15:55:51 -04:00
2018-12-05 18:27:16 +08:00
2018-05-22 14:34:17 +05:30
2015-07-23 04:22:59 -04:00
2014-01-13 16:12:31 -05:00
2019-01-07 08:52:47 -05:00
2018-11-01 12:14:09 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-08-19 20:04:41 +02:00
2019-01-15 15:11:43 +00:00
2019-01-15 15:11:43 +00:00
2018-12-11 16:12:48 -05:00
2018-12-19 14:54:27 +00:00
2018-10-11 11:31:27 +13:00
2018-09-03 13:55:57 +10:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-09-11 22:14:18 +01:00
2016-07-11 17:42:41 -04:00
2015-02-17 16:27:46 -05:00
2018-06-07 06:38:23 +01:00
2013-12-15 21:07:12 -05:00
2019-01-09 10:48:42 +00:00
2018-12-17 17:16:04 +00:00
2018-12-11 16:09:29 -05:00
2018-12-11 16:09:29 -05:00
2018-06-07 00:38:07 +08:00
2018-06-21 15:32:04 +02:00
2018-12-11 16:12:34 -05:00
2018-09-13 11:44:16 +01:00
2018-04-10 10:35:45 +01:00
2018-06-22 22:02:31 +03:00
2018-06-22 22:02:31 +03:00
2018-12-14 17:07:22 +01:00
2018-12-11 16:09:29 -05:00
2017-05-29 19:53:34 +02:00
2018-09-12 15:42:11 +00:00
2017-05-29 19:53:34 +02:00
2019-01-10 13:50:26 -05:00
2018-04-27 16:46:19 +01:00
2017-05-29 19:53:34 +02:00
2018-06-29 12:13:32 +01:00
2018-09-04 20:24:25 +02:00
2018-12-11 16:12:48 -05:00
2015-10-13 15:42:14 +01:00
2018-04-27 16:46:19 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-04-13 16:14:46 +01:00
2018-10-23 09:45:12 -04:00
2017-05-29 19:53:34 +02:00
2018-10-30 11:51:50 +00:00
2019-01-10 13:50:26 -05:00
2018-12-05 18:27:16 +08:00
2018-12-19 16:43:21 +00:00
2018-12-19 11:06:31 +01:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-11-29 17:50:27 +00:00
2017-05-29 19:53:34 +02:00
2016-06-04 08:24:22 -04:00
2018-06-17 11:26:32 +08:00
2015-04-22 18:56:50 +08:00
2018-12-18 11:43:08 +01:00
2018-09-03 13:55:57 +10:00
2017-05-29 19:53:34 +02:00
2018-10-23 08:53:54 +02:00
2018-06-20 12:16:34 +01:00
2018-06-29 12:13:32 +01:00
2016-06-28 15:57:49 +02:00
2014-08-02 12:41:14 +00:00