Skip to content

Commit

Permalink
fix: close mvstore in unit tests (#97) (#676)
Browse files Browse the repository at this point in the history
Failure to close the mvStore between test runs results in failures on
Windows due to locked files.
  • Loading branch information
jbutler authored Jan 28, 2023
1 parent e24df9e commit a6bed14
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void setUp() {

@AfterEach
public void tearDown() {
this.mvStore.close();
File dbFile = new File(BrokerConstants.DEFAULT_PERSISTENT_PATH);
if (dbFile.exists()) {
dbFile.delete();
Expand Down

0 comments on commit a6bed14

Please sign in to comment.