pabloem commented on pull request #15294:
URL: https://github.com/apache/beam/pull/15294#issuecomment-953327915


   oh yeah I know why. `MetricsEnvironment` is a runtime class that a runner 
utilizes at runtime. `MetricsEnvironment` will give you metrics info if the job 
runs locally, but not if the job runs on Dataflow.
   
   After looking at other metrics tests, they all test mocked-out instances of 
BQ/BigTable, etc.
   
   So - I think you should make these tests run only on DirectRunner, and skip 
on Dataflow.


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


Reply via email to