Skip to content

Fix flaky tenant_auto_create_spec#19

Merged
adham90 merged 1 commit intomainfrom
adham90/dashboard-perf-fix
Mar 6, 2026
Merged

Fix flaky tenant_auto_create_spec#19
adham90 merged 1 commit intomainfrom
adham90/dashboard-perf-fix

Conversation

@adham90
Copy link
Owner

@adham90 adham90 commented Mar 6, 2026

Summary

  • Fix flaky tenant_auto_create_spec.rb:233 that was failing in CI due to test pollution
  • The test relied on track_executions defaulting to true, but other specs could leave it as false
  • Explicitly set track_executions = true in the test's around block

Test plan

  • Full test suite passes locally (4326 examples, 0 failures)
  • Previously flaky test now passes consistently

🤖 Generated with Claude Code

The test relied on track_executions defaulting to true, but other specs
(e.g., instrumentation_spec) could leave it as false via test pollution,
causing the execution record query to return nil.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adham90 adham90 merged commit ad97e47 into main Mar 6, 2026
4 checks passed
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