Clean up flaky tests to be more reliable

This commit is contained in:
Vicki Pfau 2024-08-24 00:32:56 -07:00
parent a54e3d0c55
commit 39ea3b0d41
3 changed files with 202 additions and 104 deletions

View file

@ -694,6 +694,7 @@ mod test {
handle.test.platform_config.replace(platform_config);
let connection = handle.new_dbus().await?;
connection.request_name("org.freedesktop.systemd1").await?;
sleep(Duration::from_millis(10)).await;
{
let object_server = connection.object_server();
object_server