Skip to content

Reduce slow spec setup cost - #5431

Open
johha wants to merge 1 commit into
mainfrom
slow-single-specs
Open

Reduce slow spec setup cost#5431
johha wants to merge 1 commit into
mainfrom
slow-single-specs

Conversation

@johha

@johha johha commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Reduce slow spec setup cost

  • Merge cors_spec and app_log_emitter_spec into a single CC startup via zz_cc_suite_spec
  • Collapse repetitive CORS it-blocks and deduplicate v3/v2 suites with a loop
  • Use module-level constants for expensive per-example setup in validator specs
  • Stub process guid in container_metric_batcher walking tests to avoid DB cost
  • Narrow outer let! scope in service_instance_delete_spec; merge single-assertion it-blocks
  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

  - Merge cors_spec and app_log_emitter_spec into a single CC startup via zz_cc_suite_spec
  - Collapse repetitive CORS it-blocks and deduplicate v3/v2 suites with a loop
  - Use module-level constants for expensive per-example setup in validator specs
  - Stub process guid in container_metric_batcher walking tests to avoid DB cost
  - Narrow outer let! scope in service_instance_delete_spec; merge single-assertion it-blocks
@johha
johha force-pushed the slow-single-specs branch from c7548d0 to 63e5411 Compare September 8, 2026 12:41
@johha
johha marked this pull request as ready for review September 8, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant