mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
fix: Keep spdlog loggers valid between tests (#2614)
This commit is contained in:
@@ -41,7 +41,7 @@ using namespace std;
|
||||
|
||||
using namespace data::cassandra;
|
||||
|
||||
class BackendCassandraBaseTest : public NoLoggerFixture {
|
||||
class BackendCassandraBaseTest : public virtual ::testing::Test {
|
||||
protected:
|
||||
static Handle
|
||||
createHandle(std::string_view contactPoints, std::string_view keyspace)
|
||||
|
||||
@@ -86,7 +86,7 @@ makeMigrationTestManagerAndBackend(ClioConfigDefinition const& config)
|
||||
}
|
||||
} // namespace
|
||||
|
||||
class MigrationCassandraSimpleTest : public WithPrometheus, public NoLoggerFixture {
|
||||
class MigrationCassandraSimpleTest : public WithPrometheus {
|
||||
// This function is used to prepare the database before running the tests
|
||||
// It is called in the SetUp function. Different tests can override this function to prepare the database
|
||||
// differently
|
||||
|
||||
Reference in New Issue
Block a user