[Merged by Bors] - fix: Enabled --file and --key-separator to be used together, fix --key handling when producing lines#3092
[Merged by Bors] - fix: Enabled --file and --key-separator to be used together, fix --key handling when producing lines#3092ozgrakkurt wants to merge 9 commits into
--file and --key-separator to be used together, fix --key handling when producing lines#3092Conversation
--file and --key-separator to be used together, handle --key when reading lines from file --file and --key-separator to be used together, fix --key handling when producing lines
--file and --key-separator to be used together, fix --key handling when producing lines--file and --key-separator to be used together, fix --key handling when producing lines
|
Added test |
|
nevermind I see the point |
Hi @ozgrakkurt! Good work so far! Looks like the issue is here: https://github.com/infinyon/fluvio/actions/runs/4504419808/jobs/7929176514?pr=3092#step:16:72 Due to conflicts with arguments passed on test. |
|
Hey @EstebanBorai, Old version fails with those options and part of the PR was making it so that it accepts those options. So the test I added fails with old version but passes with new version. Not sure how to integrate this with the test. |
|
In that case, run that particular test on new version |
|
@sehz I added some hack to do this in the last commit. What would be a proper way of doing this? |
|
That's reasonable fix! |
LeoBorai
left a comment
There was a problem hiding this comment.
LGTM! Nice work @ozgrakkurt!
|
@ozgrakkurt smart way to tune tests for this use case! |
|
@EstebanBorai thanks! |
| if [ "$FLUVIO_CLI_RELEASE_CHANNEL" == "stable" ]; then | ||
| skip "don't run on stable version" | ||
| fi |
There was a problem hiding this comment.
nice trick!
We should create an issue to update this once we release a new stable version
|
Hey @sehz, can you check when you have time? |
|
bors r+ |
|
Build failed: |
|
bors r+ |
|
Pull request successfully merged into master. Build succeeded: |
--file and --key-separator to be used together, fix --key handling when producing lines--file and --key-separator to be used together, fix --key handling when producing lines
closes #3076
The issue also mentions it should be added to the CI. I'm looking into doing that.
DISCLAIMER: I didn't test this yet