Skip to content

Commit

Permalink
remove retries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Galibey committed Nov 6, 2023
1 parent 31e4aa0 commit 0c7b097
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1014,11 +1014,7 @@ jobs:
# Run fluvio test
- name: Run Fluvio CLI smoke tests
if: matrix.test == 'fluvio'
uses: nick-fields/retry@v2
with:
timeout_minutes: 15
max_attempts: 3
command: make cli-fluvio-smoke
run: make cli-fluvio-smoke

# test smdk
- name: Download artifact - smdk
Expand Down
11 changes: 3 additions & 8 deletions tests/cli/fluvio_smoke_tests/producer-smartmodule.bats
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ setup_file() {
# Produce to topic with transforms file
TEST_MESSAGE="Banana"
export TEST_MESSAGE
run bash -c 'echo "$TEST_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME" \
--transforms-file "$INPUT_FILE"'
run bash -c 'echo "$TEST_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME" --transforms-file "$INPUT_FILE"'
echo "cmd: $BATS_RUN_COMMAND" >&2
assert_success

Expand Down Expand Up @@ -302,10 +301,9 @@ setup_file() {
# Produce to topic with transforms file
TEST_MESSAGE="Banana"
export TEST_MESSAGE
run bash -c 'echo "$TEST_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME" \
--transform "{\"uses\":\"$SMARTMODULE_NAME\"}"'
echo "cmd: $BATS_RUN_COMMAND" >&2
run bash -c 'echo "$TEST_MESSAGE" | timeout 15s "$FLUVIO_BIN" produce "$TOPIC_NAME" --transform "{\"uses\":\"$SMARTMODULE_NAME\"}"'
assert_success
echo "cmd: $BATS_RUN_COMMAND" >&2

EXPECTED_OUTPUT="BANANA"
export EXPECTED_OUTPUT
Expand All @@ -314,9 +312,6 @@ setup_file() {
assert_output "$EXPECTED_OUTPUT"
assert_success




# Delete topic
run timeout 15s "$FLUVIO_BIN" topic delete "$TOPIC_NAME"
echo "cmd: $BATS_RUN_COMMAND" >&2
Expand Down

0 comments on commit 0c7b097

Please sign in to comment.