diff --git a/src/test/scala/com/exasol/cloudetl/scriptclasses/FilesDataImporterTest.scala b/src/test/scala/com/exasol/cloudetl/scriptclasses/FilesDataImporterTest.scala index ae6b5bf7..f36efaf8 100644 --- a/src/test/scala/com/exasol/cloudetl/scriptclasses/FilesDataImporterTest.scala +++ b/src/test/scala/com/exasol/cloudetl/scriptclasses/FilesDataImporterTest.scala @@ -1,5 +1,8 @@ package com.exasol.cloudetl.scriptclasses +import java.nio.file.Files +import java.nio.file.Paths + import scala.io.Source import com.exasol.ExaIterator @@ -142,6 +145,7 @@ class FilesDataImporterTest extends StorageTest with Matchers { } test("collectFiles with 40k real file names") { + assume(Files.exists(Paths.get("files.txt"))) val files = Source.fromFile("files.txt").getLines().map(fileName => iteratorRow(fileName, 0L, 1L)).toSeq assert(files.size == 40000) val result = FilesDataImporter.collectFiles(ExaIteratorMock.fromSeq(files))