Add 200ms delay between edit and rebuild in ModuleAndPluginNativeIT to avoid intermittent failures on Mac

This commit is contained in:
Peter Palaga
2021-01-25 12:03:44 +01:00
parent 3a29b4b341
commit e4e605d928

View File

@@ -76,6 +76,8 @@ public class ModuleAndPluginNativeIT {
.resolve("plugin/src/main/java/org/mvndaemon/mvnd/test/module/plugin/mojo/HelloMojo.java");
TestUtils.replace(mojoPath, "\"Hello\".getBytes", "\"Hi\".getBytes");
Thread.sleep(200); // Let's see if this helps to prevent intermittent failures on Mac
final TestClientOutput output = new TestClientOutput();
client.execute(output,
"clean",