Enable DB tests via ScyllaDB service (#1103)

Fixes #1092
This commit is contained in:
Alex Kremer
2024-01-15 12:09:00 +00:00
committed by GitHub
parent 350a45e7e2
commit 13d2d4e2ca
9 changed files with 143 additions and 27 deletions

View File

@@ -18,15 +18,23 @@
//==============================================================================
#include "util/TerminationHandler.h"
#include "util/TestGlobals.h"
#include "util/prometheus/Prometheus.h"
#include <gtest/gtest.h>
/*
* Supported custom command line options for clio_tests:
* --backend_host=<host> - sets the cassandra/scylladb host for backend tests
* --backend_keyspace=<keyspace> - sets the cassandra/scylladb keyspace for backend tests
*/
int
main(int argc, char** argv)
main(int argc, char* argv[])
{
util::setTerminationHandler();
PrometheusService::init();
testing::InitGoogleTest(&argc, argv);
TestGlobals::instance().parse(argc, argv);
return RUN_ALL_TESTS();
}