Skip to content

Commit

Permalink
fix: pr review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanBorai committed May 12, 2023
1 parent 17136f9 commit d27b005
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/fluvio-cli/src/client/produce/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ mod cmd {

/// Compression algorithm to use when sending records.
/// Supported values: none, gzip, snappy, zstd and lz4.
#[clap(long)]
#[arg(long)]
pub compression: Option<Compression>,

#[cfg(feature = "producer-file-io")]
Expand Down
4 changes: 2 additions & 2 deletions tests/cli/fluvio_smoke_tests/e2e-basic.bats
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ teardown_file() {
run timeout 15s "$FLUVIO_BIN" topic create "$TOPIC_NAME_12"
assert_success

if [[ "$FLUVIO_CLI_RELEASE_CHANNEL" != "stable" || "$FLUVIO_CLUSTER_RELEASE_CHANNEL" != "stable" ]]; then
if [[ "$FLUVIO_CLI_RELEASE_CHANNEL" != "stable" && "$FLUVIO_CLUSTER_RELEASE_CHANNEL" != "stable" ]]; then
run timeout 15s "$FLUVIO_BIN" topic create "$TOPIC_NAME_13" --compression-type zstd
assert_success
fi
Expand All @@ -158,7 +158,7 @@ teardown_file() {
run bash -c 'echo -e "$LZ4_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME_6" --compression lz4'
assert_success

if [[ "$FLUVIO_CLI_RELEASE_CHANNEL" != "stable" || "$FLUVIO_CLUSTER_RELEASE_CHANNEL" != "stable" ]]; then
if [[ "$FLUVIO_CLI_RELEASE_CHANNEL" != "stable" && "$FLUVIO_CLUSTER_RELEASE_CHANNEL" != "stable" ]]; then
run bash -c 'echo -e "$ZSTD_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME_13" --compression zstd'
assert_success
fi
Expand Down

0 comments on commit d27b005

Please sign in to comment.