This is an automated email from the ASF dual-hosted git repository.
sanpwc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 1eb86a241c IGNITE-23098 Make sure raft is closed before storage (#4310)
1eb86a241c is described below
commit 1eb86a241c79c6e5536178f88d319d3e5807ae5b
Author: Cyrill <[email protected]>
AuthorDate: Thu Aug 29 18:32:13 2024 +0300
IGNITE-23098 Make sure raft is closed before storage (#4310)
---
.../metastorage/impl/ItMetaStorageServicePersistenceTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItMetaStorageServicePersistenceTest.java
b/modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItMetaStorageServicePersistenceTest.java
index a1e5c0a8f9..e57379a4f5 100644
---
a/modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItMetaStorageServicePersistenceTest.java
+++
b/modules/metastorage/src/integrationTest/java/org/apache/ignite/internal/metastorage/impl/ItMetaStorageServicePersistenceTest.java
@@ -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));
}