Skip to content

test(scheduler): comprehensive E2E test suite (scheduler/001-025)#43

Merged
windoliver merged 1 commit intomainfrom
feat/scheduler-e2e-tests
Mar 1, 2026
Merged

test(scheduler): comprehensive E2E test suite (scheduler/001-025)#43
windoliver merged 1 commit intomainfrom
feat/scheduler-e2e-tests

Conversation

@windoliver
Copy link
Contributor

Summary

  • Expand scheduler E2E tests from 4 basic stubs to 25 comprehensive tests covering lifecycle, classification, metrics, isolation, latency, stress, and permissions
  • Add shared conftest.py with SubmitFn, ClassifyFn, LatencyCollector fixtures and helpers
  • Add docs/scheduler.md with API reference and test plan
  • Update TEST_PLAN.md with full scheduler/001-025 matrix

Test plan

  • Run pytest tests/scheduler/ -v against a live nexus server with scheduler enabled
  • Verify all 25 test cases pass (scheduler/001-025)
  • Confirm latency benchmarks (p95 < 200ms submit, < 100ms status/classify)
  • Validate zone isolation and permission enforcement tests

Expand scheduler tests from 4 basic stubs to 25 comprehensive E2E tests:
- scheduler/001-004: Core lifecycle (submit, idempotency, priority, cancel)
- scheduler/005-010: Astraea classification (tiers, IO_WAIT, invalid input)
- scheduler/011-016: Status queries + metrics endpoint
- scheduler/017: Zone isolation
- scheduler/018-020: Latency benchmarks (submit, status, classify p95)
- scheduler/021-022: Stress tests (concurrent submit, burst+cancel)
- scheduler/023-025: Permission/auth tests (unauth, bad key, owner scope)

Add shared conftest.py with fixtures, LatencyCollector, and helpers.
Add docs/scheduler.md with API reference and test plan.
@windoliver windoliver merged commit 28c2ff4 into main Mar 1, 2026
1 check failed
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.

1 participant