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

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

                Author: ASF GitHub Bot
            Created on: 07/Feb/22 20:51
            Start Date: 07/Feb/22 20:51
    Worklog Time Spent: 10m 
      Work Description: lostluck merged pull request #16765:
URL: https://github.com/apache/beam/pull/16765


   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 722312)
    Time Spent: 1h  (was: 50m)

> Add Go integration test errors when forgetting ptest.Main/beam.Init
> -------------------------------------------------------------------
>
>                 Key: BEAM-13419
>                 URL: https://issues.apache.org/jira/browse/BEAM-13419
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Daniel Oliveira
>            Assignee: Danny McCormick
>            Priority: P2
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently when someone writes an integration test and forgets to put 
> ptest.Main into TestMain (or their own code calling beam.Init), then the SDK 
> harness runs the tests as unit tests and ends up passing them because 
> ptest.Run and beam.Run seem to just instantly pass without a problem when 
> beam.Init hasn't been called.
> The end result is that SDK harnesses in this setup just instantly pass all 
> the tests and then close without any error messages.
> This code path should have an error added so that if beam.Init hasn't been 
> run when ptest.Run executes, then it fails with an error.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to