Skip to content

[SPARK-31732][TESTS] Disable some flaky tests temporarily #28547

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
all (directSiteRelativeLinks) should not startWith (knoxBaseUrl)
}

test("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
// TODO (SPARK-31723): re-enable it
ignore("static relative links are prefixed with uiRoot (spark.ui.proxyBase)") {
val uiRoot = Option(System.getenv("APPLICATION_WEB_PROXY_BASE")).getOrElse("/testwebproxybase")
val page = new HistoryPage(server)
val request = mock[HttpServletRequest]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class BarrierTaskContextSuite extends SparkFunSuite with LocalSparkContext with
sc = new SparkContext(conf)
}

test("global sync by barrier() call") {
// TODO (SPARK-31730): re-enable it
ignore("global sync by barrier() call") {
initLocalClusterSparkContext()
val rdd = sc.makeRDD(1 to 10, 4)
val rdd2 = rdd.barrier().mapPartitions { it =>
Expand Down Expand Up @@ -131,7 +132,8 @@ class BarrierTaskContextSuite extends SparkFunSuite with LocalSparkContext with
assert(times2.max - times2.min <= 1000)
}

test("support multiple barrier() call within a single task") {
// TODO (SPARK-31730): re-enable it
ignore("support multiple barrier() call within a single task") {
initLocalClusterSparkContext()
val rdd = sc.makeRDD(1 to 10, 4)
val rdd2 = rdd.barrier().mapPartitions { it =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ abstract class KafkaMicroBatchSourceSuiteBase extends KafkaSourceSuiteBase {
)
}

test("subscribing topic by pattern with topic deletions") {
// TODO (SPARK-31731): re-enable it
ignore("subscribing topic by pattern with topic deletions") {
val topicPrefix = newTopic()
val topic = topicPrefix + "-seems"
val topic2 = topicPrefix + "-bad"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ abstract class KafkaRelationSuiteBase extends QueryTest with SharedSparkSession
("3", Seq(("e", "f".getBytes(UTF_8)), ("e", "g".getBytes(UTF_8))))).toDF)
}

test("timestamp provided for starting and ending") {
// TODO (SPARK-31729): re-enable it
ignore("timestamp provided for starting and ending") {
val (topic, timestamps) = prepareTimestampRelatedUnitTest

// timestamp both presented: starting "first" ending "finalized"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ class DirectKafkaStreamSuite
}

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ class StreamingContextSuite
}
}

test("stop gracefully") {
// TODO (SPARK-31728): re-enable it
ignore("stop gracefully") {
val conf = new SparkConf().setMaster(master).setAppName(appName)
conf.set("spark.dummyTimeConfig", "3600s")
val sc = new SparkContext(conf)
Expand Down