Abacn commented on code in PR #37313:
URL: https://github.com/apache/beam/pull/37313#discussion_r2801905366


##########
sdks/python/apache_beam/runners/portability/flink_runner_test.py:
##########
@@ -158,11 +173,12 @@ def _subprocess_command(cls, job_port, expansion_port):
 
     cls._create_conf_dir()
     cls.expansion_port = expansion_port
-
+    platform_specific_opts = []
+    if platform.system() == 'Linux':
+      # UseContainerSupport is supported in Linux and turned on by default
+      platform_specific_opts.append('-XX:-UseContainerSupport')
     try:
-      return [
-          'java',
-          '-XX:-UseContainerSupport',
+      return ['java'] + platform_specific_opts + [

Review Comment:
   Fix flink_runner_test on MacOS (and persumably windows)



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