Skip to content

perf: reduce quest integration test runtime - #125

Merged
nikhilsinhaparseable merged 20 commits into
parseablehq:mainfrom
pratik50:perf/quest-test-runtime
Sep 18, 2026
Merged

nikhilsinhaparseable merged 20 commits into
parseablehq:mainfrom
pratik50:perf/quest-test-runtime

Conversation

@pratik50

Copy link
Copy Markdown
Contributor

Summary

This PR reduces Quest integration-test runtime while preserving the existing test coverage.

Changes

  • Consolidate the ingest/query smoke tests so they share one 120-second persistence wait.
  • Consolidate the regular and custom-partition k6 smoke tests so they share one 150-second wait.
  • Fix five load tests that previously false-passed because:
    • k6 VU/duration flags were malformed.
    • the same exec.Cmd was executed twice.
    • k6 failures did not fail the Go test.
    • the single-event script path was incorrect.
  • Give every load test a unique stream.
  • Register failure-safe stream cleanup using t.Cleanup.
  • Remove the cross-test TestDeleteStream dependency.
  • Ensure all five heavy load tests run only in load mode.
  • Run the five isolated load tests concurrently using t.Parallel.
  • Allow five parallel tests in the Quest container.

Runtime results

  • Standalone: 24/24 tests passed in 16m58s
  • Distributed: 24/24 tests passed in 16m53s

This reduces the time rage by approximately 11-12 minutes (~41%).

@pratik50
pratik50 marked this pull request as draft August 15, 2026 11:37
@pratik50 pratik50 self-assigned this Aug 15, 2026
@pratik50
pratik50 requested a review from parmesant August 15, 2026 11:37
@nikhilsinhaparseable
nikhilsinhaparseable marked this pull request as ready for review September 9, 2026 08:20
@pratik50
pratik50 force-pushed the perf/quest-test-runtime branch from 3799fa9 to fa6dedb Compare September 17, 2026 02:38
@pratik50
pratik50 force-pushed the perf/quest-test-runtime branch from fa6dedb to 068f513 Compare September 18, 2026 09:12
@nikhilsinhaparseable
nikhilsinhaparseable merged commit 938f204 into parseablehq:main Sep 18, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants