mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-28 08:47:29 +00:00
Try to avoid IllegalStateException: Failed to lock offset 0 of .../daemon/registry.bin within 20.0 seconds #102
This commit is contained in:
@@ -49,6 +49,10 @@ public class UpgradesInBomNativeIT {
|
||||
final Client cl = clientFactory.newClient(parameters.cd(parameters.getTestDir().resolve(artifactDir)));
|
||||
final TestClientOutput output = new TestClientOutput();
|
||||
cl.execute(output, "clean", "install", "-e").assertSuccess();
|
||||
|
||||
final DaemonInfo d = registry.getAll().get(0);
|
||||
/* Wait, till the instance becomes idle */
|
||||
registry.awaitIdle(d.getUid());
|
||||
registry.killAll();
|
||||
}
|
||||
Assertions.assertThat(registry.getAll().size()).isEqualTo(0);
|
||||
|
Reference in New Issue
Block a user