You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "María GH (JIRA)" <ji...@apache.org> on 2018/06/26 21:01:00 UTC

[jira] [Comment Edited] (BEAM-4333) Add integration tests for mobile game examples

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

María GH edited comment on BEAM-4333 at 6/26/18 9:00 PM:
---------------------------------------------------------

All the integration tests have now been added. That is, per every example.py there is an example_it_test.py.

It was necessary to add a subscription for leader_board.py and game_stats.py. Otherwise, all the events will have already been written to the topic by the time the pipeline starts to create a subscription to read from, so the pipeline always reads an empty subscription. 


was (Author: mariagh):
All the integration tests have now been added. That is, per every example.py there is an example_it_test.py.

It was necessary to add a subscription for leader_board.py and game_stats.py. Otherwise, all the events will have already been written to the topic by the time the pipeline starts to create a subscription to read from it, so the pipeline always reads an empty subscription. 

> Add integration tests for mobile game examples
> ----------------------------------------------
>
>                 Key: BEAM-4333
>                 URL: https://issues.apache.org/jira/browse/BEAM-4333
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: María GH
>            Assignee: María GH
>            Priority: Minor
>             Fix For: 2.6.0
>
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
>
> Add integration tests for the 4 [mobile game examples|https://github.com/apache/beam/tree/master/sdks/python/apache_beam/examples/complete/game].
> Setup a Jenkins test to run the above integration tests at a daily frequency.



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