Ryan Skraba created AVRO-3180:
---------------------------------

             Summary: [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


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