[
https://issues.apache.org/jira/browse/BEAM-11218?focusedWorklogId=640796&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-640796
]
ASF GitHub Bot logged work on BEAM-11218:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Aug/21 18:03
Start Date: 23/Aug/21 18:03
Worklog Time Spent: 10m
Work Description: riteshghorse commented on pull request #15364:
URL: https://github.com/apache/beam/pull/15364#issuecomment-903992033
It looks like it was due to the different go version. I was on go1.12
earlier and the case statements inside switch were written as `opt.(*counter)`
didn't throw any error. Jenkins seems to be using go1.16 so updated the local
version as well. And then I started getting the error due to this format.
Changed it to
```
switch opt.(type)
case *counter:
case *distribution:
case *gauge:
```
--
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: 640796)
Time Spent: 1h (was: 50m)
> ptest allows to obtain a pipeline result
> ----------------------------------------
>
> Key: BEAM-11218
> URL: https://issues.apache.org/jira/browse/BEAM-11218
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-go
> Reporter: Kamil Wasilewski
> Assignee: Ritesh Ghorse
> Priority: P3
> Time Spent: 1h
> Remaining Estimate: 0h
>
> ptest should allow to obtain a pipeline result, which would enable using
> metrics in testing scenarios. This can be done either by adding a new
> endpoint (e.g. `ptest.RunWithMetrics`) or replacing the existing `ptest.Run`
> with a new version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)