-
Notifications
You must be signed in to change notification settings - Fork 489
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
[Merged by Bors] - fix: Enabled --file
and --key-separator
to be used together, fix --key
handling when producing lines
#3092
Conversation
--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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice trick!
We should create an issue to update this once we release a new stable version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
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