]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: fix bad TearDown in TestCryptoOpensslDataCryptor
authorOr Ozeri <oro@il.ibm.com>
Thu, 25 Nov 2021 13:11:36 +0000 (15:11 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 13 Feb 2022 15:49:58 +0000 (16:49 +0100)
Fix the TearDown function in TestCryptoOpensslDataCryptor
to call the right class parent function.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
(cherry picked from commit 91c3b0314c4545fa47275d69c0738561846c1e83)

src/test/librbd/crypto/openssl/test_DataCryptor.cc

index d3771663bf45fae0ef4bfa9f1469ff47342b9924..a3ba4c883ead06a1d432d0117bcfe9a42a8ef731 100644 (file)
@@ -26,7 +26,7 @@ struct TestCryptoOpensslDataCryptor : public TestFixture {
 
     void TearDown() override {
       delete cryptor;
-      Test::TearDown();
+      TestFixture::TearDown();
     }
 };