Skip to content

Fix compression tests for go 1.27 - #372

Merged
lubux merged 1 commit into
mainfrom
test/message-compress
Sep 30, 2026
Merged

lubux merged 1 commit into
mainfrom
test/message-compress

Conversation

@lubux

@lubux lubux commented Sep 30, 2026

Copy link
Copy Markdown
Member

go 1.27 introduced a new zlib/deflate encoder which is less effective on small inputs. Thus the test fail to see the compression result. Solution: Increase the test data size

@lubux lubux added the v3 Targeting GopenPGP v3 label Sep 30, 2026
@lubux
lubux merged commit a190a32 into main Sep 30, 2026
8 checks passed
@twiss
twiss deleted the test/message-compress branch September 30, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 Targeting GopenPGP v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants