Skip to content

Commit

Permalink
chore: wait longer for AppMap process shutdown in Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jansorg authored and ahtrotta committed Mar 6, 2024
1 parent 256bc1d commit cc54ec4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void setupListener() {
@Override
protected void tearDown() throws Exception {
try {
AppLandCommandLineService.getInstance().stopAll(true);
AppLandCommandLineService.getInstance().stopAll(10_000, TimeUnit.MILLISECONDS);
} catch (Exception e) {
addSuppressedException(e);
} finally {
Expand Down Expand Up @@ -147,7 +147,7 @@ public void siblingDirectories() throws Exception {

assertActiveRoots(dirA, dirB);

service.stopAll(true);
service.stopAll(10_000, TimeUnit.MILLISECONDS);

var debugInfo = service.toString();
assertFalse("No services expected for parentA: " + debugInfo, service.isRunning(dirA, true));
Expand Down

0 comments on commit cc54ec4

Please sign in to comment.