You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "tartarus (Jira)" <ji...@apache.org> on 2021/07/19 09:26:00 UTC

[jira] [Created] (FLINK-23425) The impact of cpu cores on test results for StreamingJobGraphGeneratorTest#testSlotSharingResourceConfigurationWithDefaultSlotSharingGroup

tartarus created FLINK-23425:
--------------------------------

             Summary: The impact of cpu cores on test results for StreamingJobGraphGeneratorTest#testSlotSharingResourceConfigurationWithDefaultSlotSharingGroup 
                 Key: FLINK-23425
                 URL: https://issues.apache.org/jira/browse/FLINK-23425
             Project: Flink
          Issue Type: Bug
          Components: Tests
            Reporter: tartarus


By default, LocalStreamEnvironment will use the number of cpu cores(Runtime.getRuntime().availableProcessors()) as the default parallelism;

In our company, we will use a 1-core docker container to run the test.

Then StreamingJobGraphGeneratorTest#testSlotSharingResourceConfigurationWithDefaultSlotSharingGroup failed.

because the parallelism of map operator is 1, so the number of Vertex is 1, not expected 2 anymore.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)