Skip to content

ci: run e2e matrix against IoTDB 2.0.6 and 2.0.10 - #17

Merged
HTHou merged 2 commits into
developfrom
ci/iotdb-2.0.10
Jul 20, 2026
Merged

ci: run e2e matrix against IoTDB 2.0.6 and 2.0.10#17
HTHou merged 2 commits into
developfrom
ci/iotdb-2.0.10

Conversation

@CritasWang

@CritasWang CritasWang commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Extend both e2e workflows to test against IoTDB 2.0.6 and 2.0.10 via a version matrix, instead of 2.0.6 only.

  • docker-compose-1c1d.yml / docker-compose-1c3d.yml: image tags are now parameterized with ${IOTDB_VERSION:-2.0.6} — local usage is unchanged (defaults to 2.0.6), CI injects the matrix version.
  • e2e-1c1d.yml / e2e-1c3d.yml: added strategy.matrix.iotdb-version: ["2.0.6", "2.0.10"] with fail-fast: false, so a failure on one server version doesn't cancel the other.
  • Test-result artifact names now carry the version suffix to avoid upload collisions between matrix jobs.

Notes

  • The 2.0.10 images changed the default dn_rpc_address from 0.0.0.0 to 127.0.0.1 (this broke the Rust client CI in apache/iotdb-client-rust until overridden). The compose files here are not affected: they already set dn_rpc_address=<service-name> explicitly on every DataNode.
  • 2.0.10 is the latest published -datanode/-confignode image tag on Docker Hub at the time of this PR.

Test plan

  • docker compose config resolves image tags correctly with and without IOTDB_VERSION set
  • Workflow YAML validated
  • CI: all four matrix jobs (1C1D/1C3D × 2.0.6/2.0.10) green on this PR

🤖 Generated with Claude Code

Parameterize the compose files with IOTDB_VERSION (defaults to 2.0.6
for local use) and add a version matrix to both e2e workflows.
Artifact names carry the version suffix to avoid upload collisions.
Rows written through redirects land on different DataNodes; with
data_replication_factor=2 the last write may not be visible to an
immediate query (observed once on the 2.0.10 1C3D matrix job).
Poll up to 5x1s before asserting instead of querying once.
@HTHou
HTHou merged commit 21b9432 into develop Jul 20, 2026
4 checks passed
@HTHou
HTHou deleted the ci/iotdb-2.0.10 branch July 20, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants