@@ -1025,9 +1025,7 @@ def test_config_export_and_recreate_from_dict(collection_factory: CollectionFact
10251025 Property (name = "booleans" , data_type = DataType .BOOL_ARRAY ),
10261026 Property (name = "geo" , data_type = DataType .GEO_COORDINATES ),
10271027 Property (name = "phone" , data_type = DataType .PHONE_NUMBER ),
1028- Property (
1029- name = "field_index_searchable" , data_type = DataType .TEXT , index_searchable = False
1030- ),
1028+ Property (name = "field_searchable_off" , data_type = DataType .TEXT , index_searchable = False ),
10311029 Property (
10321030 name = "field_index_range_filters_false" ,
10331031 data_type = DataType .INT ,
@@ -1054,7 +1052,9 @@ def test_config_export_and_recreate_from_dict(collection_factory: CollectionFact
10541052 tokenization = Tokenization .FIELD ,
10551053 ),
10561054 Property (
1057- name = "nested_searchable" , data_type = DataType .TEXT , index_searchable = False
1055+ name = "nested_searchable_off" ,
1056+ data_type = DataType .TEXT ,
1057+ index_searchable = False ,
10581058 ),
10591059 Property (
10601060 name = "nested_filterable" , data_type = DataType .TEXT , index_filterable = False
@@ -1598,7 +1598,7 @@ def test_replication_config_with_async_config(collection_factory: CollectionFact
15981598 factor = 1 ,
15991599 async_enabled = True ,
16001600 async_config = Configure .Replication .async_config (
1601- max_workers = 8 ,
1601+ propagation_concurrency = 4 ,
16021602 hashtree_height = 20 ,
16031603 ),
16041604 ),
@@ -1608,8 +1608,12 @@ def test_replication_config_with_async_config(collection_factory: CollectionFact
16081608 assert config .replication_config .async_enabled is True
16091609 assert config .replication_config .async_config is not None
16101610 ac = config .replication_config .async_config
1611- assert ac .max_workers == 8
1611+ assert ac .propagation_concurrency == 4
16121612 assert ac .hashtree_height == 20
1613+ if collection ._connection ._weaviate_version .is_at_least (1 , 37 , 3 ):
1614+ # Server removed max_workers / alive_nodes_checking_frequency from the schema in 1.37.3
1615+ assert ac .max_workers is None
1616+ assert ac .alive_nodes_checking_frequency is None
16131617
16141618
16151619def test_replication_config_remove_async_config_by_disabling_async_replication (
@@ -1624,14 +1628,14 @@ def test_replication_config_remove_async_config_by_disabling_async_replication(
16241628 factor = 1 ,
16251629 async_enabled = True ,
16261630 async_config = Configure .Replication .async_config (
1627- max_workers = 8 ,
1631+ propagation_concurrency = 4 ,
16281632 hashtree_height = 20 ,
16291633 ),
16301634 ),
16311635 )
16321636 config = collection .config .get ()
16331637 assert config .replication_config .async_config is not None
1634- assert config .replication_config .async_config .max_workers == 8
1638+ assert config .replication_config .async_config .propagation_concurrency == 4
16351639
16361640 collection .config .update (
16371641 replication_config = Reconfigure .replication (
@@ -1653,14 +1657,14 @@ def test_replication_config_remove_async_config(collection_factory: CollectionFa
16531657 factor = 1 ,
16541658 async_enabled = True ,
16551659 async_config = Configure .Replication .async_config (
1656- max_workers = 8 ,
1660+ propagation_concurrency = 4 ,
16571661 hashtree_height = 20 ,
16581662 ),
16591663 ),
16601664 )
16611665 config = collection .config .get ()
16621666 assert config .replication_config .async_config is not None
1663- assert config .replication_config .async_config .max_workers == 8
1667+ assert config .replication_config .async_config .propagation_concurrency == 4
16641668
16651669 collection .config .update (
16661670 replication_config = Reconfigure .replication (
@@ -1685,29 +1689,29 @@ def test_replication_config_unset_single_async_field(
16851689 factor = 1 ,
16861690 async_enabled = True ,
16871691 async_config = Configure .Replication .async_config (
1688- max_workers = 8 ,
1692+ propagation_concurrency = 4 ,
16891693 hashtree_height = 20 ,
16901694 ),
16911695 ),
16921696 )
16931697 config = collection .config .get ()
16941698 ac = config .replication_config .async_config
16951699 assert ac is not None
1696- assert ac .max_workers == 8
1700+ assert ac .propagation_concurrency == 4
16971701 assert ac .hashtree_height == 20
16981702
1699- # Update with only max_workers — hashtree_height reverts to server default
1703+ # Update with only propagation_concurrency — hashtree_height reverts to server default
17001704 collection .config .update (
17011705 replication_config = Reconfigure .replication (
17021706 async_config = Reconfigure .Replication .async_config (
1703- max_workers = 8 ,
1707+ propagation_concurrency = 4 ,
17041708 ),
17051709 ),
17061710 )
17071711 config = collection .config .get ()
17081712 ac = config .replication_config .async_config
17091713 assert ac is not None
1710- assert ac .max_workers == 8
1714+ assert ac .propagation_concurrency == 4
17111715 assert ac .hashtree_height != 20
17121716
17131717
@@ -1734,16 +1738,16 @@ def test_replication_config_add_async_config_to_existing_collection(
17341738 collection .config .update (
17351739 replication_config = Reconfigure .replication (
17361740 async_config = Reconfigure .Replication .async_config (
1737- max_workers = 8 ,
17381741 propagation_concurrency = 4 ,
1742+ hashtree_height = 20 ,
17391743 ),
17401744 ),
17411745 )
17421746 config = collection .config .get ()
17431747 assert config .replication_config .async_config is not None
17441748 ac = config .replication_config .async_config
1745- assert ac .max_workers == 8
17461749 assert ac .propagation_concurrency == 4
1750+ assert ac .hashtree_height == 20
17471751
17481752
17491753def test_update_property_descriptions (collection_factory : CollectionFactory ) -> None :
0 commit comments