You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Simon (JIRA)" <ji...@apache.org> on 2018/10/12 15:44:00 UTC

[jira] [Commented] (BEAM-5623) Several IO tests hang indefinitely during execution on Python 3.

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

Simon commented on BEAM-5623:
-----------------------------

I found that we can reproduce the 'hanging test' error in working IO tests by replacing string with bytes, although bytes are python2 'standard'. So this does not necessarily result in an error, but might make the test hang.

for example:

f.write('\n'.join(..)) -> f.write(*b*'\n'.join(..))

either fixes a problem or in another case makes the test hang

> Several IO tests hang indefinitely during execution on Python 3.
> ----------------------------------------------------------------
>
>                 Key: BEAM-5623
>                 URL: https://issues.apache.org/jira/browse/BEAM-5623
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> test_read_empty_single_file_no_eol_gzip (apache_beam.io.textio_test.TextSourceTest) 
> Also several tests cases in tfrecordio_test, for example:
> test_process_auto (apache_beam.io.tfrecordio_test.TestReadAllFromTFRecord)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)