-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-15783][CORE] Fix Flakiness in BlacklistIntegrationSuite #13565
Changes from all commits
0ee2f1f
270a038
4dc8711
7f4e9eb
f562c66
5bc48f2
41b7b79
174d070
91ea3df
e35a7d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,7 +214,11 @@ class DAGSchedulerSuite extends SparkFunSuite with LocalSparkContext with Timeou | |
results.clear() | ||
securityMgr = new SecurityManager(conf) | ||
broadcastManager = new BroadcastManager(true, conf, securityMgr) | ||
mapOutputTracker = new MapOutputTrackerMaster(conf, broadcastManager, true) | ||
mapOutputTracker = new MapOutputTrackerMaster(conf, broadcastManager, true) { | ||
override def sendTracker(message: Any): Unit = { | ||
// no-op, just so we can stop this to avoid leaking threads | ||
} | ||
} | ||
scheduler = new DAGScheduler( | ||
sc, | ||
taskScheduler, | ||
|
@@ -228,6 +232,9 @@ class DAGSchedulerSuite extends SparkFunSuite with LocalSparkContext with Timeou | |
override def afterEach(): Unit = { | ||
try { | ||
scheduler.stop() | ||
dagEventProcessLoopTester.stop() | ||
mapOutputTracker.stop() | ||
broadcastManager.stop() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
} finally { | ||
super.afterEach() | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure that such a long duration isn't really necessary, but I don't think it hurts to make it longer just in case.