open-traffic-generator / snappi

Open Traffic Generator SDK in Python and Go
MIT License
69 stars 7 forks source link

[golang] GetMetrics always return choice: port_metrics #156

Open alakendu opened 2 years ago

alakendu commented 2 years ago

Run UT related to GetMetrics (say TestGrpcGetMetricsFlowResponse) within https://github.com/open-traffic-generator/snappi/blob/main/gosnappi/snappigo_test.go

It will return choice: port_metrics

It looks like SetMsg is updating pb object though snappi holder object not update properly.