Skip to content

MINOR: Adjust test params pursuant to KAFKA-4514. - #5777

Merged
hachikuji merged 3 commits into
apache:trunkfrom
colinhicks:fixtest-post-KAFKA-4514
Oct 10, 2018
Merged

MINOR: Adjust test params pursuant to KAFKA-4514.#5777
hachikuji merged 3 commits into
apache:trunkfrom
colinhicks:fixtest-post-KAFKA-4514

Conversation

@colinhicks

Copy link
Copy Markdown
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
Copy Markdown
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.

@hachikuji hachikuji left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@hachikuji

Copy link
Copy Markdown
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 <jason@confluent.io>
@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 <jason@confluent.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants