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

fix TestIdl to pass on windows #119

Closed

Conversation

radai-rosenblatt
Copy link
Contributor

for some of the avdl input files for the test the copyright statement is picked up as the doc string. when generating jackson escapes \n and \r characters, resulting in a doc string that contains the 2 characters '' followed by 'r' instead of '\r'. the test tries to strip out \r to "normalize" \r\n into \n, but the input actually contains '' 'r' '' 'n', causing the test to fail on windows.
Signed-off-by: radai-rosenblatt radai.rosenblatt@gmail.com

Signed-off-by: radai-rosenblatt <radai.rosenblatt@gmail.com>
Copy link
Contributor

@gszadovszky gszadovszky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the patch.

@busbey
Copy link
Contributor

busbey commented Jan 28, 2017

This is AVRO-1581

@busbey
Copy link
Contributor

busbey commented Jan 28, 2017

@gszadovszky did you happen to get to run through this on a windows box? It'll take me a bit longer to dig up my windows test laptop.

@gszadovszky
Copy link
Contributor

@busbey I don't have a windows test environment, unfortunately. (Not even a windows test laptop hidden somewhere :) )

@iemejia
Copy link
Member

iemejia commented Nov 29, 2018

Hello, I am part of a small group trying to get all the pending PRs reviewed. I tested and merged an exact fix contributed in a different PR (sorry I was not aware of this one).
Thanks for the fix and sorry for the delay (and for not taking this one by mistake).

@iemejia iemejia closed this Nov 29, 2018
@iemejia iemejia added the Java Pull Requests for Java binding label Nov 29, 2018
iemejia pushed a commit that referenced this pull request Jun 11, 2021
* Make writer block size configurable

* Call block_size method in test

Co-authored-by: Antonio Uccio Verardi <antonio.uccio.verardi@gmail.com>
SingingBush pushed a commit to SingingBush/avro that referenced this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Pull Requests for Java binding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants