Removed unused class in test
This commit is contained in:
@@ -681,7 +681,7 @@ class BasicSharedKeyspaceUnitTestCase(BasicKeyspaceUnitTestCase):
|
|||||||
drop_keyspace_shutdown_cluster(cls.ks_name, cls.session, cls.cluster)
|
drop_keyspace_shutdown_cluster(cls.ks_name, cls.session, cls.cluster)
|
||||||
|
|
||||||
|
|
||||||
class BasicSharedKeyspaceUnitTestCaseWTable(BasicSharedKeyspaceUnitTestCase):
|
class BasicSharedKeyspaceUnitTestCaseRF1(BasicSharedKeyspaceUnitTestCase):
|
||||||
"""
|
"""
|
||||||
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
||||||
creates a keyspace named after the testclass with a rf of 1, and a table named after the class
|
creates a keyspace named after the testclass with a rf of 1, and a table named after the class
|
||||||
@@ -701,16 +701,6 @@ class BasicSharedKeyspaceUnitTestCaseRF2(BasicSharedKeyspaceUnitTestCase):
|
|||||||
self.common_setup(2)
|
self.common_setup(2)
|
||||||
|
|
||||||
|
|
||||||
class BasicSharedKeyspaceUnitTestCaseWTable(BasicSharedKeyspaceUnitTestCase):
|
|
||||||
"""
|
|
||||||
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
|
||||||
creates a keyspace named after the testc lass with a rf of 2, and a table named after the class
|
|
||||||
"""
|
|
||||||
@classmethod
|
|
||||||
def setUpClass(self):
|
|
||||||
self.common_setup(3, True, True, True)
|
|
||||||
|
|
||||||
|
|
||||||
class BasicSharedKeyspaceUnitTestCaseRF3(BasicSharedKeyspaceUnitTestCase):
|
class BasicSharedKeyspaceUnitTestCaseRF3(BasicSharedKeyspaceUnitTestCase):
|
||||||
"""
|
"""
|
||||||
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
||||||
@@ -721,14 +711,14 @@ class BasicSharedKeyspaceUnitTestCaseRF3(BasicSharedKeyspaceUnitTestCase):
|
|||||||
self.common_setup(3)
|
self.common_setup(3)
|
||||||
|
|
||||||
|
|
||||||
class BasicSharedKeyspaceUnitTestCaseRF3WTable(BasicSharedKeyspaceUnitTestCase):
|
class BasicSharedKeyspaceUnitTestCaseRF3WM(BasicSharedKeyspaceUnitTestCase):
|
||||||
"""
|
"""
|
||||||
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
This is basic unit test case that can be leveraged to scope a keyspace to a specific test class.
|
||||||
creates a keyspace named after the test class with a rf of 3 and a table named after the class
|
creates a keyspace named after the test class with a rf of 3 with metrics enabled
|
||||||
"""
|
"""
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(self):
|
def setUpClass(self):
|
||||||
self.common_setup(3, True)
|
self.common_setup(3, True, True, True)
|
||||||
|
|
||||||
|
|
||||||
class BasicSharedKeyspaceUnitTestCaseWFunctionTable(BasicSharedKeyspaceUnitTestCase):
|
class BasicSharedKeyspaceUnitTestCaseWFunctionTable(BasicSharedKeyspaceUnitTestCase):
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ from cassandra.protocol import SyntaxException
|
|||||||
from cassandra.cluster import Cluster, NoHostAvailable
|
from cassandra.cluster import Cluster, NoHostAvailable
|
||||||
from tests.integration import get_cluster, get_node, use_singledc, PROTOCOL_VERSION, execute_until_pass
|
from tests.integration import get_cluster, get_node, use_singledc, PROTOCOL_VERSION, execute_until_pass
|
||||||
from greplin import scales
|
from greplin import scales
|
||||||
from tests.integration import BasicSharedKeyspaceUnitTestCaseWTable, BasicExistingKeyspaceUnitTestCase, local
|
from tests.integration import BasicSharedKeyspaceUnitTestCaseRF3WM, BasicExistingKeyspaceUnitTestCase, local
|
||||||
|
|
||||||
def setup_module():
|
def setup_module():
|
||||||
use_singledc()
|
use_singledc()
|
||||||
@@ -179,7 +179,7 @@ class MetricsTests(unittest.TestCase):
|
|||||||
# pass
|
# pass
|
||||||
|
|
||||||
|
|
||||||
class MetricsNamespaceTest(BasicSharedKeyspaceUnitTestCaseWTable):
|
class MetricsNamespaceTest(BasicSharedKeyspaceUnitTestCaseRF3WM):
|
||||||
@local
|
@local
|
||||||
def test_metrics_per_cluster(self):
|
def test_metrics_per_cluster(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user