Skip to content

Conversation

@colinhicks
Copy link
Contributor

#2267 Introduced support for Zstandard compression. The relevant test expects values for num_nodes and num_producers based on the (now-incremented) count of compression types.

Passed the affected, previously-failing test:
ducker-ak test tests/kafkatest/tests/client/compression_test.py


@cluster(num_nodes=7)
@cluster(num_nodes=8)
@parametrize(compression_types=["snappy","gzip","lz4","zstd","none"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: there's a comment below that still refers to num_producers=4. Would be nice to figure find a way to make the dependence on the parameterization explicit. I wonder if we could make the list of compression types a static value and refer to its size when defining num_producers and num_nodes? Not a requirement, but if it's easy to do.

Copy link
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the fix!

@hachikuji
Copy link
Contributor

I will go ahead and merge since the build does not verify system tests.

@hachikuji
Copy link
Contributor

The update looks good.

@hachikuji hachikuji merged commit b63cd63 into apache:trunk Oct 10, 2018
hachikuji pushed a commit that referenced this pull request Oct 10, 2018
PR #2267 Introduced support for Zstandard compression. The relevant test expects values for `num_nodes` and `num_producers` based on the (now-incremented) count of compression types.

Passed the affected, previously-failing test:
`ducker-ak test tests/kafkatest/tests/client/compression_test.py`

Reviewers: Jason Gustafson <[email protected]>
@colinhicks colinhicks deleted the fixtest-post-KAFKA-4514 branch October 11, 2018 16:13
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
PR apache#2267 Introduced support for Zstandard compression. The relevant test expects values for `num_nodes` and `num_producers` based on the (now-incremented) count of compression types.

Passed the affected, previously-failing test:
`ducker-ak test tests/kafkatest/tests/client/compression_test.py`

Reviewers: Jason Gustafson <[email protected]>
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.

2 participants