This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new 5f731337013 [SPARK-42086][SQL][TESTS] Sort test cases in SQLQueryTestSuite 5f731337013 is described below commit 5f731337013e1e12af0e19148c8fe037ff77fc73 Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Mon Jan 16 00:09:05 2023 -0800 [SPARK-42086][SQL][TESTS] Sort test cases in SQLQueryTestSuite ### What changes were proposed in this pull request? This PR aims to sort the execution order of `SQLQueryTestSuite` test cases. ### Why are the changes needed? It's helpful to navigate the test result. ### Does this PR introduce _any_ user-facing change? No. This is a test-only improvement. ### How was this patch tested? Manually check the test case execution ordering from the log. Closes #39599 from dongjoon-hyun/SPARK-42086. Authored-by: Dongjoon Hyun <dongj...@apache.org> Signed-off-by: Dongjoon Hyun <dongj...@apache.org> --- sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala index 1585e6342ec..2dabcf01be7 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala @@ -528,7 +528,7 @@ class SQLQueryTestSuite extends QueryTest with SharedSparkSession with SQLHelper } else { RegularTestCase(testCaseName, absPath, resultFile) :: Nil } - } + }.sortBy(_.name) } /** Returns all the files (not directories) in a directory, recursively. */ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org