Skip to content

Commit cd12026

Browse files
committed
disable some flaky tests
1 parent d8b001f commit cd12026

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
314314
all (directSiteRelativeLinks) should not startWith (knoxBaseUrl)
315315
}
316316

317-
test("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
317+
// TODO (SPARK-31723): re-enable it
318+
ignore("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
318319
val uiRoot = Option(System.getenv("APPLICATION_WEB_PROXY_BASE")).getOrElse("/testwebproxybase")
319320
val page = new HistoryPage(server)
320321
val request = mock[HttpServletRequest]

external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaRelationSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ abstract class KafkaRelationSuiteBase extends QueryTest with SharedSparkSession
179179
("3", Seq(("e", "f".getBytes(UTF_8)), ("e", "g".getBytes(UTF_8))))).toDF)
180180
}
181181

182-
test("timestamp provided for starting and ending") {
182+
// TODO (SPARK-31722): re-enable it
183+
ignore("timestamp provided for starting and ending") {
183184
val (topic, timestamps) = prepareTimestampRelatedUnitTest
184185

185186
// timestamp both presented: starting "first" ending "finalized"

external/kafka-0-10/src/test/scala/org/apache/spark/streaming/kafka010/DirectKafkaStreamSuite.scala

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,8 @@ class DirectKafkaStreamSuite
332332
}
333333

334334
// Test to verify the offset ranges can be recovered from the checkpoints
335-
test("offset recovery") {
335+
// TODO (SPARK-31722): re-enable it
336+
ignore("offset recovery") {
336337
val topic = "recovery"
337338
kafkaTestUtils.createTopic(topic)
338339
testDir = Utils.createTempDir()
@@ -418,8 +419,9 @@ class DirectKafkaStreamSuite
418419
ssc.stop()
419420
}
420421

421-
// Test to verify the offsets can be recovered from Kafka
422-
test("offset recovery from kafka") {
422+
// Test to verify the offsets can be recovered from Kafka
423+
// TODO (SPARK-31722): re-enable it
424+
ignore("offset recovery from kafka") {
423425
val topic = "recoveryfromkafka"
424426
kafkaTestUtils.createTopic(topic)
425427

streaming/src/test/scala/org/apache/spark/streaming/StreamingContextSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ class StreamingContextSuite
293293
}
294294
}
295295

296-
test("stop gracefully") {
296+
// TODO (SPARK-31722): re-enable it
297+
ignore("stop gracefully") {
297298
val conf = new SparkConf().setMaster(master).setAppName(appName)
298299
conf.set("spark.dummyTimeConfig", "3600s")
299300
val sc = new SparkContext(conf)

0 commit comments

Comments
 (0)