Skip to content

Tests: Improve isolation for randomized multisite tests - #13183

Draft
sirreal wants to merge 2 commits into
WordPress:trunkfrom
sirreal:agent/test-order-multisite-isolation
Draft

Tests: Improve isolation for randomized multisite tests#13183
sirreal wants to merge 2 commits into
WordPress:trunkfrom
sirreal:agent/test-order-multisite-isolation

Conversation

@sirreal

@sirreal sirreal commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes hard-coded site-ID, directory-existence, lazy-load queue, external-DNS, and wp_installing state assumptions from multisite fixtures.
  • Keeps the changes confined to PHPUnit tests and fixtures.

Verification

  • 100 randomized multisite-group runs passed; each completed 763 tests and 1,805 assertions with two expected skips.
  • The continuation covered seeds 1789073001 through 1789073050; maximum authoritative PHPUnit time was 67.065 seconds.
  • Replayed the original failing seed and focused contaminator/consumer cases during diagnosis.
  • PHP syntax checks passed for every changed PHP file.
  • git diff --check passed.

Trac: https://core.trac.wordpress.org/ticket/65893

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