Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

βœ… tests for cli when consuming with format #3885

Merged

Conversation

k0i
Copy link
Contributor

@k0i k0i commented Mar 2, 2024

Motivation

Add tests to the cli command fluvio consume with --format arguments.

Notes

This PR address #3118

I confirmed the test results in that file are all green πŸŽ‰

❯ make cli-fluvio-smoke

...
bats ./tests/cli/fluvio_smoke_tests/e2e-basic.bats
e2e-basic.bats

/usr/bin/timeout
/usr/bin/timeout
 βœ“ Create a topic
/usr/bin/timeout
 βœ“ Produce message
/usr/bin/timeout
 βœ“ Consume message
/usr/bin/timeout
 βœ“ Consume message using format: key
/usr/bin/timeout
 βœ“ Consume message using format: value
/usr/bin/timeout
 βœ“ Consume message using format: offset
/usr/bin/timeout
 βœ“ Consume message using format: partition
/usr/bin/timeout
 βœ“ Consume message display timestamp using format: time
/usr/bin/timeout
 βœ“ Consume with tail
/usr/bin/timeout
 βœ“ Consume gzip message
/usr/bin/timeout
 βœ“ Consume snappy message
/usr/bin/timeout
 βœ“ Consume lz4 message
/usr/bin/timeout
 βœ“ Consume zstd message
/usr/bin/timeout
 βœ“ ReadCommitted Consume ReadCommitted message
/usr/bin/timeout
 βœ“ ReadUncommitted Consume ReadCommitted message
/usr/bin/timeout
 βœ“ ReadCommitted Consume ReadUncommitted message
/usr/bin/timeout
 βœ“ ReadUncommitted Consume ReadUncommitted message
/usr/bin/timeout
 βœ“ Consume AtMostOnce message
/usr/bin/timeout
 βœ“ Consume AtLeastOnce message
/usr/bin/timeout
 βœ“ Consume all partitions by default
/usr/bin/timeout
 βœ“ Consume subset of partitions

21 tests, 0 failures

bats ./tests/cli/fluvio_smoke_tests/non-concurrent/cluster-delete.bats
cluster-delete.bats

/usr/bin/timeout
/usr/bin/timeout
 βœ“ Delete the cluster

1 test, 0 failures

@morenol
Copy link
Contributor

morenol commented Mar 4, 2024

Thank you for your contribution

@morenol morenol added this pull request to the merge queue Mar 4, 2024
Merged via the queue into infinyon:master with commit 9147ccd Mar 4, 2024
102 checks passed
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