zentol opened a new pull request #10923: [FLINK-15691][tests] Remove 
runInTaskExecutorThreadAndWait()
URL: https://github.com/apache/flink/pull/10923
 
 
   Removes 
`TaskExecutorPartitionLifecycleTest#runInTaskExecutorThreadAndWait()` and 
refactors existing usages.
   
   The method did not achieve the desired effect of running the action in the 
TE main thread. Given that the test has not shown instabilities despite this we 
can conclude that these actions can just be executed in the tests main thread 
instead.
   
   Additionally, this test removes/replaces accesses to the JobManagerTable of 
the TaskExecutor.
   The first access was removed since it is not really necessary since it 
effectively verified the test setup.
   The second access was replaced with a check for whether the 
disconnect-from-JM future has been completed, which _should_ behave the same 
way.

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


With regards,
Apache Git Services

Reply via email to