Skip to content

Commit

Permalink
IGNITE-23098 Make sure raft is closed before storage (#4310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrill authored Aug 29, 2024
1 parent e2a7921 commit 1eb86a2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ public class ItMetaStorageServicePersistenceTest extends ItAbstractListenerSnaps
private final Map<String, RocksDbKeyValueStorage> storageByName = new HashMap<>();

/** After each. */
@Override
@AfterEach
void tearDown() throws Exception {
public void afterTest() throws Exception {
super.afterTest();

IgniteUtils.closeAll(storageByName.values().stream().map(storage -> storage::close));
}

Expand Down

0 comments on commit 1eb86a2

Please sign in to comment.