Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2759

Fix Ruby test not to redefine a function with the same name

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      Running ./build.sh test in the lang/ruby directory shows the following warnings.

      #################################################################
      ##### Run tests: /avro/lang/ruby/ 
      #################################################################
      
      (snip)
      
      /avro/lang/ruby/test/test_schema.rb:20: warning: method redefined; discarding old hash_to_schema
      /avro/lang/ruby/test/test_schema_validator.rb:28: warning: previous definition of hash_to_schema was here
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sekikn Kengo Seki
                Reporter:
                sekikn Kengo Seki
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: