StefanRRichter commented on a change in pull request #7662: [FLINK-10431] Extraction of scheduling-related code from SlotPool into preliminary Scheduler (rebased) URL: https://github.com/apache/flink/pull/7662#discussion_r255502651
########## File path: flink-runtime/src/test/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPoolInteractionsTest.java ########## @@ -69,33 +62,18 @@ import static org.junit.Assert.fail; /** - * Tests for the SlotPool using a proper RPC setup. + * Tests for the SlotPoolImpl interactions. */ -public class SlotPoolRpcTest extends TestLogger { - - private static RpcService rpcService; - - private static final Time timeout = Time.seconds(10L); +public class SlotPoolInteractionsTest extends TestLogger { Review comment: I think it still somewhat required because the test involve timeouts, and the simple direct main thread executor will always run into a violation if it is entered through the scheduled executor of the timeout. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services