Commit 09b41a33 authored by Andy Wilkinson's avatar Andy Wilkinson

Wait for process to exit when stopping DevTools integration test apps

parent 41066154
......@@ -78,7 +78,7 @@ public class DevToolsIntegrationTests {
}
@After
public void stopApplication() {
public void stopApplication() throws InterruptedException {
this.launchedApplication.stop();
}
......
......@@ -37,9 +37,10 @@ class LaunchedApplication {
this.processes = processes;
}
void stop() {
void stop() throws InterruptedException {
for (Process process : this.processes) {
process.destroy();
process.waitFor();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment