Files
greptimedb/tests-integration/tests
dennis zhuangandWenyXu 69623e000b refactor(tests-integration): drop duplicated harness code and tests (#10856)
* refactor(tests-integration): extract datanode RPC transport

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(tests-integration): share cluster startup orchestration

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(tests-integration): share migration and repartition scenarios

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(tests-integration): clarify shared cluster helper APIs

Signed-off-by: WenyXu <wenymedia@gmail.com>

* test(repartition): check partition metadata as soon as ALTER returns

The synchronous ALTER waits for its procedure and invalidates the local frontend cache before returning. Query the same frontend immediately to exercise that guarantee.

Signed-off-by: WenyXu <wenymedia@gmail.com>

* fix(tests-integration): bound datanode registration by a configurable timeout

Signed-off-by: WenyXu <wenymedia@gmail.com>

* refactor(tests-integration): build slow-query and histogram PG/MySQL servers through the shared helpers

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): drop instance tests covered by sqlness and table-drive COPY and external table cases

test_execute_insert_by_select and test_execute_query are covered by insert_select.sql and sum.sql, which assert the same rows and error messages in both modes; test_execute_insert and test_execute_create only checked affected rows. The four cloud COPY tests share one body, and the parquet and CSV external table fixtures hold the same rows.

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): share the Kafka cluster setup of region migration tests

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): fold the OTel Arrow exemplar tests into one and share the metrics payload

test_otel_arrow_exemplars_without_metric_engine and test_exemplar_otel_arrow_skips_non_metric_source checked the same skip; the surviving test now also verifies decoding and a following histogram batch in both deployments.

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): share the GC garbage setup and checks across GC trigger tests

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): share submitted procedure lookup across event tests

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(tests-integration): box the metasrv startup future to fit the default test stack

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* refactor(tests-integration): require a boxed metasrv future and tidy cluster docs

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

---------

Signed-off-by: WenyXu <wenymedia@gmail.com>
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
Co-authored-by: WenyXu <wenymedia@gmail.com>
2026-12-03 05:18:08 +00:00
..
2026-06-30 07:37:31 +00:00