Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13497#discussion_r65774423
--- Diff:
launcher/src/test/java/org/apache/spark/launcher/LauncherServerSuite.java ---
@@ -152,6 +175,102 @@ public void testTimeout() throws Exception {
}
}
+ @Test
+ public void testSparkSubmitVmShutsDown() throws Exception {
+ LauncherServer launchServer =
(LauncherServer)Mockito.mock(LauncherServer.class);
--- End diff --
style nits:
- code is cleaner if you just static import `Mockito.*`
- space after casts: `(LauncherServer) mock(...)`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]