Skip to content
Snippets Groups Projects
Commit a6bca3ad authored by Yin Huai's avatar Yin Huai
Browse files

[SPARK-17266][TEST] Add empty strings to the regressionTests of PrefixComparatorsSuite

## What changes were proposed in this pull request?
This PR adds a regression test to PrefixComparatorsSuite's "String prefix comparator" because this test failed on jenkins once (https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.4/1620/testReport/junit/org.apache.spark.util.collection.unsafe.sort/PrefixComparatorsSuite/String_prefix_comparator/).

I could not reproduce it locally. But, let's this test case in the regressionTests.

Author: Yin Huai <yhuai@databricks.com>

Closes #14837 from yhuai/SPARK-17266.
parent 540e9128
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,8 @@ class PrefixComparatorsSuite extends SparkFunSuite with PropertyChecks {
("s1", "s2"),
("abc", "世界"),
("你好", "世界"),
("你好123", "你好122")
("你好123", "你好122"),
("", "")
)
// scalastyle:on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment