Skip to content

Commit

Permalink
Fix 'The file is locked: nio:' exceptions in Hg19 tests by closing Mv…
Browse files Browse the repository at this point in the history
…Store in MvStoreDataSourceLoaderTest
  • Loading branch information
julesjacobsen committed Nov 23, 2021
1 parent 54a50c8 commit ea9942a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The Exomiser - A tool to annotate and prioritize genomic variants
*
* Copyright (c) 2016-2018 Queen Mary University of London.
* Copyright (c) 2016-2021 Queen Mary University of London.
* Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -40,6 +40,7 @@ public void loadsData() {
Path mvStorePath = Paths.get("src/test/resources/data/1710_hg19/1710_hg19_variants.mv.db");
MVStore mvStore = MvStoreDataSourceLoader.openMvStore(mvStorePath);
assertThat(mvStore, instanceOf(MVStore.class));
mvStore.close();
}

@Test
Expand Down

0 comments on commit ea9942a

Please sign in to comment.