[ 
https://issues.apache.org/jira/browse/BEAM-8575?focusedWorklogId=364781&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-364781
 ]

ASF GitHub Bot logged work on BEAM-8575:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Dec/19 22:07
            Start Date: 30/Dec/19 22:07
    Worklog Time Spent: 10m 
      Work Description: liumomo315 commented on pull request #10447: 
[BEAM-8575] Refactor test_do_fn_with_windowing_in_finish_bundle to work with 
Dataflow runner
URL: https://github.com/apache/beam/pull/10447#discussion_r362107855
 
 

 ##########
 File path: sdks/python/apache_beam/transforms/ptransform_test.py
 ##########
 @@ -347,14 +347,14 @@ def finish_bundle(self):
 
     pipeline = TestPipeline()
     result = (pipeline
-              | 'Start' >> beam.Create([x for x in range(3)])
+              | 'Start' >> beam.Create([1])
               | beam.ParDo(MyDoFn())
               | WindowInto(windowfn)
               | 'create tuple' >> beam.Map(
                   lambda v, t=beam.DoFn.TimestampParam, 
w=beam.DoFn.WindowParam:
                   (v, t, w.start, w.end)))
-    expected_process = [('process'+ str(x), Timestamp(5), Timestamp(4),
-                         Timestamp(6)) for x in range(3)]
+    expected_process = [('process'+ str(1), Timestamp(5), Timestamp(4),
 
 Review comment:
   Sorry I missed this comment earlier. Committed the suggestion. Thanks!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 364781)
    Time Spent: 40h 20m  (was: 40h 10m)

> Add more Python validates runner tests
> --------------------------------------
>
>                 Key: BEAM-8575
>                 URL: https://issues.apache.org/jira/browse/BEAM-8575
>             Project: Beam
>          Issue Type: Test
>          Components: sdk-py-core, testing
>            Reporter: wendy liu
>            Assignee: wendy liu
>            Priority: Major
>          Time Spent: 40h 20m
>  Remaining Estimate: 0h
>
> This is the umbrella issue to track the work of adding more Python tests to 
> improve test coverage.



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

Reply via email to