This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new c7e9da9  Revert "[SPARK-34352][SQL] Improve SQLQueryTestSuite so as 
could run on windows system"
c7e9da9 is described below

commit c7e9da93c6c47294a917dcd5e4f6b9ea89ae12a4
Author: HyukjinKwon <gurwls...@apache.org>
AuthorDate: Tue Feb 9 12:03:11 2021 +0900

    Revert "[SPARK-34352][SQL] Improve SQLQueryTestSuite so as could run on 
windows system"
    
    This reverts commit db8db0da1c2da24c191b0b89a0fcaa55eafeb7ef.
---
 .../src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala   | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

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 b573f94..02c6fba 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
@@ -154,14 +154,10 @@ class SQLQueryTestSuite extends QueryTest with 
SharedSparkSession with SQLHelper
     // Fewer shuffle partitions to speed up testing.
     .set(SQLConf.SHUFFLE_PARTITIONS, 4)
 
-  // SPARK-32106 Since we add SQL test 'transform.sql' will use `cat` command,
-  // here we need to ignore it.
-  private val otherIgnoreList =
-    if (TestUtils.testCommandAvailable("/bin/bash")) Nil else 
Set("transform.sql")
   /** List of test cases to ignore, in lower cases. */
   protected def ignoreList: Set[String] = Set(
-    "ignored.sql" // Do NOT remove this one. It is here to test the ignore 
functionality.
-  ) ++ otherIgnoreList
+    "ignored.sql"   // Do NOT remove this one. It is here to test the ignore 
functionality.
+  )
 
   // Create all the test cases.
   listTestCases.foreach(createScalaTestCase)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to