mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-25 21:54:57 +00:00
Await idle before the second execution in ExtensionsNativeIT
This commit is contained in:
@@ -18,7 +18,6 @@ package org.jboss.fuse.mvnd.client;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.StringReader;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
|
@@ -54,6 +54,8 @@ public class ExtensionsNativeIT {
|
||||
assertEquals(Collections.singletonList("-Ddaemon.core.extensions=io.takari.aether:takari-local-repository:0.11.3"),
|
||||
daemon.getOptions());
|
||||
|
||||
registry.awaitIdle(daemon.getUid());
|
||||
|
||||
client.execute(o, "-v").assertSuccess();
|
||||
Assertions.assertThat(registry.getAll().size()).isEqualTo(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user