@@ -254,32 +254,6 @@ def test_cluster_settings(self):
254254 cluster .set_max_connections_per_host (HostDistance .LOCAL , max_connections_per_host + 1 )
255255 self .assertEqual (cluster .get_max_connections_per_host (HostDistance .LOCAL ), max_connections_per_host + 1 )
256256
257- def test_submit_schema_refresh (self ):
258- """
259- Ensure new new schema is refreshed after submit_schema_refresh()
260- """
261-
262- cluster = Cluster (protocol_version = PROTOCOL_VERSION )
263- cluster .connect ()
264- self .assertNotIn ("newkeyspace" , cluster .metadata .keyspaces )
265-
266- other_cluster = Cluster (protocol_version = PROTOCOL_VERSION )
267- session = other_cluster .connect ()
268- execute_until_pass (session ,
269- """
270- CREATE KEYSPACE newkeyspace
271- WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}
272- """ )
273-
274- future = cluster .submit_schema_refresh ()
275- future .result ()
276-
277- self .assertIn ("newkeyspace" , cluster .metadata .keyspaces )
278-
279- execute_until_pass (session , "DROP KEYSPACE newkeyspace" )
280- cluster .shutdown ()
281- other_cluster .shutdown ()
282-
283257 def test_refresh_schema (self ):
284258 cluster = Cluster (protocol_version = PROTOCOL_VERSION )
285259 session = cluster .connect ()
@@ -605,10 +579,6 @@ def test_pool_management(self):
605579 cluster .refresh_schema_metadata ()
606580 cluster .refresh_schema_metadata (max_schema_agreement_wait = 0 )
607581
608- # submit schema refresh
609- future = cluster .submit_schema_refresh ()
610- future .result ()
611-
612582 assert_quiescent_pool_state (self , cluster )
613583
614584 cluster .shutdown ()
0 commit comments