Skip to content

test: add zstd compression negotiation interop test - #3171

Merged
oferchen merged 1 commit into
masterfrom
test/zstd-negotiation-interop
Apr 11, 2026
Merged

oferchen merged 1 commit into
masterfrom
test/zstd-negotiation-interop

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add standalone interop test zstd-negotiation that validates zstd compression auto-negotiation against upstream rsync 3.4.1
  • Tests both daemon push directions: upstream client -> oc-rsync daemon, and oc-rsync client -> upstream daemon
  • Verifies transferred files match via byte-level comparison (compressible text, small file, binary data, nested directory file)
  • Gated on upstream zstd support availability (skips gracefully if upstream lacks libzstd)
  • Validates the fix from PR feat: enable zstd compression auto-negotiation #3081 (enable zstd compression auto-negotiation)

Test plan

  • CI interop tests pass with the new zstd-negotiation standalone test
  • Test is skipped gracefully when upstream rsync lacks zstd support
  • Both directions (upstream->oc, oc->upstream) transfer files correctly with --compress-choice=zstd

Add a standalone interop test that validates zstd compression
auto-negotiation against upstream rsync 3.4.1 (PR #3081). Tests both
daemon push directions: upstream client to oc-rsync daemon and oc-rsync
client to upstream daemon. Verifies transferred files match via byte
comparison. Gated on upstream zstd support availability.
@github-actions github-actions Bot added the test label Apr 11, 2026
@oferchen
oferchen merged commit 8623b84 into master Apr 11, 2026
43 checks passed
@oferchen
oferchen deleted the test/zstd-negotiation-interop branch April 11, 2026 06:48
oferchen added a commit that referenced this pull request May 1, 2026
Add a standalone interop test that validates zstd compression
auto-negotiation against upstream rsync 3.4.1 (PR #3081). Tests both
daemon push directions: upstream client to oc-rsync daemon and oc-rsync
client to upstream daemon. Verifies transferred files match via byte
comparison. Gated on upstream zstd support availability.
oferchen added a commit that referenced this pull request May 5, 2026
Add a standalone interop test that validates zstd compression
auto-negotiation against upstream rsync 3.4.1 (PR #3081). Tests both
daemon push directions: upstream client to oc-rsync daemon and oc-rsync
client to upstream daemon. Verifies transferred files match via byte
comparison. Gated on upstream zstd support availability.
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