[ 
https://issues.apache.org/jira/browse/AVRO-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390657#comment-17390657
 ] 

Tim Perkins commented on AVRO-3180:
-----------------------------------

[~rskraba] I added a commit here if you're able to test it.

Obviously we're missing unit test coverage here for Ruby, but maybe it is good 
enough for now if the interop tests cover it.

> [RUBY] Interop tests fail on force_encoding
> -------------------------------------------
>
>                 Key: AVRO-3180
>                 URL: https://issues.apache.org/jira/browse/AVRO-3180
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Ryan Skraba
>            Assignee: Tim Perkins
>            Priority: Major
>
> Freezing string literals in Ruby is a good practice (AVRO-3112).  There are a 
> couple of places that attempt to modify string literals, notably in the IRC 
> interop tests:
> {code}
> /home/rskraba/avro/lang/ruby/lib/avro/ipc.rb:107:in `force_encoding': can't 
> modify frozen String (FrozenError)
>       from /home/rskraba/avro/lang/ruby/lib/avro/ipc.rb:107:in `request'
>       from lang/ruby/test/tool.rb:69:in `send_message'
>       from lang/ruby/test/tool.rb:137:in `main'
>       from lang/ruby/test/tool.rb:143:in `<main>'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to