Skip to content

Commit 5d2ab94

Browse files
authored
Faster tests teardown (add enable_drain_on_shutdown=False) (#13025)
1 parent 2b752b4 commit 5d2ab94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/tests/library/harness/kikimr_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ def __init__(
263263
self.yaml_config["table_service_config"]["enable_kqp_data_query_stream_lookup"] = False
264264

265265
self.yaml_config["feature_flags"]["enable_public_api_external_blobs"] = enable_public_api_external_blobs
266+
267+
# for faster shutdown: there is no reason to wait while tablets are drained before whole cluster is stopping
268+
self.yaml_config["feature_flags"]["enable_drain_on_shutdown"] = False
266269
for extra_feature_flag in extra_feature_flags:
267270
self.yaml_config["feature_flags"][extra_feature_flag] = True
268271
if enable_alter_database_create_hive_first:

0 commit comments

Comments
 (0)