Skip to content

Add local server state machine subprocess tests - #562

Open
sdairs wants to merge 3 commits into
stack/478-lifecycle-helpfrom
stack/479-server-state-machine-tests
Open

Add local server state machine subprocess tests#562
sdairs wants to merge 3 commits into
stack/478-lifecycle-helpfrom
stack/479-server-state-machine-tests

Conversation

@sdairs

Copy link
Copy Markdown
Collaborator

Summary

  • add one table-driven, isolated subprocess suite for the local ClickHouse server state machine
  • cover fresh, default, custom, omitted/explicit selection, exact-CWD, and explicit global project transitions
  • assert exact output contracts, metadata, process liveness, data persistence/removal, telemetry isolation, and cleanup

Tests

  • cargo test -p clickhousectl --test local_server_state_machine_test (3 runs, including concurrent runs)
  • cargo test -p clickhousectl
  • cargo test --workspace
  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings

Closes#479

Sign up for freeto 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.

1 participant

@sdairs