Skip to content

Guard daemon fallback tests with env lock - #1849

Merged
oferchen merged 1 commit into
masterfrom
fix-test-failure-in-configured_fallback_binary_prefers_daemo
Nov 1, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-test-failure-in-configured_fallback_binary_prefers_daemo

Conversation

@oferchen

@oferchen oferchen commented Nov 1, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • reuse the shared daemon EnvGuard helper in sections tests
  • serialize environment mutations in fallback binary tests with the global lock

Testing

  • cargo test -p rsync-daemon configured_fallback_binary_prefers_daemon_override

@oferchen
oferchen merged commit 6e6389d into master Nov 1, 2025
@oferchen
oferchen deleted the fix-test-failure-in-configured_fallback_binary_prefers_daemo branch November 1, 2025 02:44
oferchen added a commit that referenced this pull request Apr 29, 2026
)

Removes three restating-the-code line comments inside production paths
of branding::workspace::version. The remaining small crates
(logging-sink, embedding, windows-gnu-eh, test-support) were already
clean: their only `//` comments are inside `#[cfg(test)]` test modules,
SAFETY blocks, or non-obvious WHY notes that must be preserved.

Closes #1849.
oferchen added a commit that referenced this pull request May 1, 2026
)

Removes three restating-the-code line comments inside production paths
of branding::workspace::version. The remaining small crates
(logging-sink, embedding, windows-gnu-eh, test-support) were already
clean: their only `//` comments are inside `#[cfg(test)]` test modules,
SAFETY blocks, or non-obvious WHY notes that must be preserved.

Closes #1849.
oferchen added a commit that referenced this pull request May 5, 2026
)

Removes three restating-the-code line comments inside production paths
of branding::workspace::version. The remaining small crates
(logging-sink, embedding, windows-gnu-eh, test-support) were already
clean: their only `//` comments are inside `#[cfg(test)]` test modules,
SAFETY blocks, or non-obvious WHY notes that must be preserved.

Closes #1849.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant