Skip to content

CI: Tier A smoke test script (automated) #47

@renecannao

Description

@renecannao

Automated Smoke Tests

Codify all Tier A manual tests into a reproducible script.

Tests (from manual session)

  1. Build orchestrator from source
  2. Start orchestrator with test config
  3. Seed discovery with master instance
  4. Wait for topology discovery (3 instances)
  5. Verify: GET /api/clusters returns cluster
  6. Verify: GET /api/cluster/{alias} returns 3 instances
  7. Verify: Web UI returns 200/302
  8. Verify: GET /api/v2/clusters returns V2APIResponse envelope
  9. Verify: GET /api/v2/status returns status
  10. Verify: GET /metrics returns Prometheus metrics with orchestrator_* gauges
  11. Verify: GET /health/live returns 200
  12. Verify: GET /health/ready returns 200
  13. Verify: GET /health/leader returns 200
  14. Verify: orchestrator -c proxysql-test connects OK
  15. Verify: orchestrator -c proxysql-servers shows servers
  16. Verify: GET /api/proxysql/servers returns server list
  17. Verify: Static CSS/JS files served correctly

Files

  • tests/functional/test-smoke.sh

Acceptance criteria

  • Script exits 0 if all tests pass, non-zero on failure
  • Each test prints PASS/FAIL with details
  • Summary at end with pass/fail count

Depends on #46 (infrastructure).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions