Skip to content

Commit d338e66

Browse files
committed
anoother time related test fix
1 parent 19514c6 commit d338e66

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

cassandra/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def emit(self, record):
2222

2323
logging.getLogger('cassandra').addHandler(NullHandler())
2424

25-
__version_info__ = (3, 21, 0, 'post0+20200127')
25+
__version_info__ = (3, 21, 0, 'post0+20200128')
2626
__version__ = '.'.join(map(str, __version_info__))
2727

2828

tests/integration/advanced/graph/fluent/test_graph.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,15 @@ def __test_udt(self, schema, graphson, address_class, address_with_tags_class,
514514
wait_until_not_raised(
515515
lambda: self.session.cluster.register_user_type(self.graph_name, 'address', Address),
516516
1, 10)
517-
self.session.cluster.register_user_type(self.graph_name, 'addressTags', AddressWithTags)
518-
self.session.cluster.register_user_type(self.graph_name, 'complexAddress', ComplexAddress)
519-
self.session.cluster.register_user_type(self.graph_name, 'complexAddressWithOwners', ComplexAddressWithOwners)
517+
wait_until_not_raised(
518+
lambda: self.session.cluster.register_user_type(self.graph_name, 'addressTags', AddressWithTags),
519+
1, 10)
520+
wait_until_not_raised(
521+
lambda: self.session.cluster.register_user_type(self.graph_name, 'complexAddress', ComplexAddress),
522+
1, 10)
523+
wait_until_not_raised(
524+
lambda: self.session.cluster.register_user_type(self.graph_name, 'complexAddressWithOwners', ComplexAddressWithOwners),
525+
1, 10)
520526

521527
data = {
522528
"udt1": ["typeOf('address')", Address('1440 Rd Smith', 'Quebec', 'QC')],

tests/integration/advanced/test_adv_metadata.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,6 @@ def test_nodesync_on_table(self):
283283
self.assertIn('nodesync =', table_meta.export_as_string())
284284
self.assertIn('nodesync', table_meta.options)
285285

286-
table_3rf = self.cluster.metadata.keyspaces["test3rf"].tables['test']
287-
self.assertNotIn('nodesync =', table_3rf.export_as_string())
288-
self.assertIsNone(table_3rf.options['nodesync'])
289-
290286

291287
@greaterthanorequaldse68
292288
class GraphMetadataTests(BasicExistingKeyspaceUnitTestCase):

0 commit comments

Comments
 (0)