lukecwik commented on a change in pull request #12983:
URL: https://github.com/apache/beam/pull/12983#discussion_r498526932
##########
File path:
runners/google-cloud-dataflow-java/src/test/java/org/apache/beam/runners/dataflow/options/DataflowPipelineOptionsTest.java
##########
@@ -243,5 +243,12 @@ public void testDefaultGcpRegionFromGcloud() throws
IOException, InterruptedExce
DataflowPipelineOptions options =
PipelineOptionsFactory.as(DataflowPipelineOptions.class);
assertEquals("us-west1", options.getRegion());
}
+
+ @Test
+ public void testHotKeyLoggingEnabled() {
+ DataflowPipelineOptions options =
PipelineOptionsFactory.as(DataflowPipelineOptions.class);
+ options.setHotKeyLoggingEnabled(true);
+ assertEquals(true, options.getHotKeyLoggingEnabled());
+ }
Review comment:
I don't believe there is value in testing this as
PipelineOptionsFactoryTest covers these kinds of tests.
```suggestion
```
----------------------------------------------------------------
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:
[email protected]