ClickHouse/tests/queries/0_stateless/00705_drop_create_merge_tree.reference
Azat Khuzhin e2417eb518 tests: fix 00705_drop_create_merge_tree flakiness
CI caught tiemout for this test [1]:

    2022.10.19 16:43:46.238264 [ 24048 ] {aea0ff2a-f8de-498a-bd9f-0b8069a49f48} <Error> executeQuery: Code: 60. DB::Exception: Table test_orfkwn0y.table doesn't exist. (UNKNOWN_TABLE) (version 22.10.1.1) (from [::1]:60028) (comment: 00705_drop_create_merge_tree.sh) (in query: DROP TABLE table), Stack trace (when copying this message, always include the lines below):
    ...
    2022.10.19 16:53:34.484777 [ 24042 ] {aec5a80a-4492-429b-87fb-7dbf5ffb5d67} <Debug> executeQuery: (from [::1]:57944) (comment: 00705_drop_create_merge_tree.sh) DROP DATABASE test_orfkwn0y  (stage: Complete)

But as you can see there is huge delay between last query from the test
and final DROP DATABASE.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/42457/65cd040d1565bb7b2a9ba515041c3a139d31a4f9/stateless_tests__tsan__[1/3]/runlog.log

Apparently it is the same issue in bash [1].

  [1]: https://gist.github.com/azat/affbda3f8c6b5c38648d4ab105777d88

Anyway it is easier to simply invoke clickhouse-client only two times,
since each invocation is very slow (~1-2 sec) in debug build.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-20 09:35:56 +02:00

0 lines
Plaintext