From e84d1961fb3c8dd8c4f5a017bc8a97b090a39c2c Mon Sep 17 00:00:00 2001 From: Pisarenko Grigoriy <79596613+GrigoriyPA@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:24:30 +0300 Subject: [PATCH] YQ 2786 fix test fq restarts (#1810) --- .github/config/muted_ya.txt | 1 - ydb/tests/fq/restarts/test_insert_restarts.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/config/muted_ya.txt b/.github/config/muted_ya.txt index c07e360e19eb..0bb1b480282f 100644 --- a/.github/config/muted_ya.txt +++ b/.github/config/muted_ya.txt @@ -79,7 +79,6 @@ ydb/tests/fq/generic * ydb/tests/fq/mem_alloc * ydb/tests/fq/multi_plane * ydb/tests/fq/plans test_stats_mode.py.TestStatsMode.test_mode[v1-STATS_MODE_FULL-client0] -ydb/tests/fq/restarts test_insert_restarts.py.TestS3.test_atomic_upload_commit* ydb/tests/fq/s3 * ydb/tests/fq/yds * ydb/tests/functional/audit * diff --git a/ydb/tests/fq/restarts/test_insert_restarts.py b/ydb/tests/fq/restarts/test_insert_restarts.py index 287d2ae24175..43abc891775a 100644 --- a/ydb/tests/fq/restarts/test_insert_restarts.py +++ b/ydb/tests/fq/restarts/test_insert_restarts.py @@ -93,6 +93,7 @@ def test_atomic_upload_commit(self, kikimr, s3, client): assert time.time() < deadline, f"Insert not finished for already {time.time() - start} seconds" time.sleep(0.001) + kikimr.compute_plane.wait_bootstrap() client.wait_query(query_id, statuses=[fq.QueryMeta.COMPLETED, fq.QueryMeta.ABORTED_BY_SYSTEM, fq.QueryMeta.FAILED], timeout=timeout) final_number_rows = self.run_atomic_upload_check_query(client, bucket, "ibucket", "insert/", "csv_with_names")