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

ASF subversion and git services commented on AVRO-2657:
-------------------------------------------------------

Commit bd9e6c4514db274ca97dbf78975a3f9156a523b6 in avro's branch 
refs/heads/master from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=bd9e6c4 ]

AVRO-2652: Use Tox to Enable Multi Python Testing (#742)

* AVRO-2652: Fix Inconsistent Pretty Output Order

Using json.dumps on a dict gives the simplest possible way to
pretty-print a schema, but it doesn't give any control over the output
order. But the test kit assumes the output is in a specific order, which
is not guaranteed by older Python implementations. This change sorts the
keys for the simplest possible stable output order.

* AVRO-2652: Run Tests with Tox

Tox enables testing with multiple versions of python in the same place.

* AVRO-2652: Tox in Docker

* AVRO-2657: Fix Python Interop Data Generator

* AVRO-2657: Test with Interop Data

* AVRO-2657: Make build.sh do interop tests


> Fix broken data interop test for Python2
> ----------------------------------------
>
>                 Key: AVRO-2657
>                 URL: https://issues.apache.org/jira/browse/AVRO-2657
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: interop, python
>            Reporter: Kengo Seki
>            Assignee: Michael A. Smith
>            Priority: Major
>
> [~kojiromike] [~ryanskraba], after AVRO-831 has been merged, the data interop 
> test for Python2 seems to be broken.
> The interop tests should refer to build/interop/data in the Avro's toplevel 
> directory, but the one for Python2 refers to lang/py/avro/test/interop/data. 
> So other bindings don't check the output from Python2 and vice versa for now.
> {code}
> $ ./build.sh docker
> (snip)
> sekikn@8359bbe828fe:~/avro$ ./build.sh clean test
> (snip)
> sekikn@8359bbe828fe:~/avro$ ls build/interop/data
> c.avro               java.avro          java_snappy.avro     perl.avro        
>     php.avro          py3_bzip2.avro    py3_xz.avro         ruby_deflate.avro
> csharp.avro          java_bzip2.avro    java_xz.avro         
> perl_deflate.avro    php_deflate.avro  py3_deflate.avro  py3_zstandard.avro  
> ruby_snappy.avro
> csharp_deflate.avro  java_deflate.avro  java_zstandard.avro  
> perl_zstandard.avro  py3.avro          py3_snappy.avro   ruby.avro           
> ruby_zstandard.avro
> sekikn@8359bbe828fe:~/avro$ ls lang/py/avro/test/interop/data
> py.avro  py_deflate.avro  py_snappy.avro  py_zstandard.avro
> {code}



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

Reply via email to