Skip to content

Commit ab2d092

Browse files
committed
Appropriate checking in test codes
1 parent 294b447 commit ab2d092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertIntoHiveTableSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class InsertIntoHiveTableSuite extends QueryTest with TestHiveSingleton with Bef
232232
""".stripMargin)
233233

234234
val overwrittenFiles = tmpDir.listFiles()
235-
.filter(f => f.isFile && f.getName.endsWith(".crc"))
235+
.filter(f => f.isFile && !f.getName.endsWith(".crc"))
236236
.sortBy(_.getName)
237237
val overwrittenFilesWithoutEmpty = overwrittenFiles.filter(_.length > 0)
238238

0 commit comments

Comments
 (0)