From 8853f640fc3d508c8700e6414096e20a0e314b22 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:40:41 +0100 Subject: [PATCH] chore: trying to fix the test --- abci/tests/kvstore.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/abci/tests/kvstore.rs b/abci/tests/kvstore.rs index 8ae845d..e3cc394 100644 --- a/abci/tests/kvstore.rs +++ b/abci/tests/kvstore.rs @@ -63,7 +63,7 @@ fn test_kvstore() { fs::set_permissions(SOCKET, perms).expect("set perms"); let socket_uri = bind_address.to_string(); - let _td = common::docker::TenderdashDocker::new("tenderdash", None, &socket_uri); + let td = common::docker::TenderdashDocker::new("tenderdash", None, &socket_uri); let next_client = server.next_client(); tracing::debug!(?next_client, "next client"); @@ -76,6 +76,8 @@ fn test_kvstore() { let kvstore_app = kvstore.into_inner().expect("kvstore lock is poisoned"); assert_eq!(kvstore_app.persisted_state, state_reference); assert_eq!(kvstore_app.last_block_height, 1); + + drop(td); } /// An example storage.