Disable prefer_localhost_replica in tests

This commit is contained in:
Igor Nikonov 2023-09-06 22:27:41 +00:00
parent f0146c0ff0
commit 724e2ee4f7

View File

@ -107,21 +107,24 @@ def create_tables(cluster, table_name):
pytest.param("test_single_shard_multiple_replicas", 3, 0),
pytest.param("test_single_shard_multiple_replicas", 4, 0),
pytest.param("test_single_shard_multiple_replicas", 10, 0),
# prefer_localhost_replica=1
pytest.param("test_single_shard_multiple_replicas", 2, 1),
pytest.param("test_single_shard_multiple_replicas", 3, 1),
pytest.param("test_single_shard_multiple_replicas", 4, 1),
pytest.param("test_single_shard_multiple_replicas", 10, 1),
# pytest.param("test_single_shard_multiple_replicas", 2, 1),
# pytest.param("test_single_shard_multiple_replicas", 3, 1),
# pytest.param("test_single_shard_multiple_replicas", 4, 1),
# pytest.param("test_single_shard_multiple_replicas", 10, 1),
# prefer_localhost_replica=0
pytest.param("test_multiple_shards_multiple_replicas", 2, 0),
pytest.param("test_multiple_shards_multiple_replicas", 3, 0),
pytest.param("test_multiple_shards_multiple_replicas", 4, 0),
pytest.param("test_multiple_shards_multiple_replicas", 10, 0),
# prefer_localhost_replica=1
pytest.param("test_multiple_shards_multiple_replicas", 2, 1),
pytest.param("test_multiple_shards_multiple_replicas", 3, 1),
pytest.param("test_multiple_shards_multiple_replicas", 4, 1),
pytest.param("test_multiple_shards_multiple_replicas", 10, 1),
# pytest.param("test_multiple_shards_multiple_replicas", 2, 1),
# pytest.param("test_multiple_shards_multiple_replicas", 3, 1),
# pytest.param("test_multiple_shards_multiple_replicas", 4, 1),
# pytest.param("test_multiple_shards_multiple_replicas", 10, 1),
],
)
def test_parallel_replicas_over_distributed(