Skip to content

Commit d4721c5

Browse files
authored
clean up emulator after test (#3618)
1 parent 5b87b59 commit d4721c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/emulator-testing/emulators/emulator.ts

+5
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,10 @@ export abstract class Emulator {
123123
console.log(`Shutting down emulator, pid: [${this.emulator.pid}] ...`);
124124
this.emulator.kill();
125125
}
126+
127+
if (this.binaryPath) {
128+
console.log(`Deleting the emulator jar at ${this.binaryPath}`);
129+
fs.unlinkSync(this.binaryPath);
130+
}
126131
}
127132
}

0 commit comments

Comments
 (0)