Skip to content

Commit

Permalink
Fixed CI findings.
Browse files Browse the repository at this point in the history
  • Loading branch information
morazow committed Oct 13, 2021
1 parent 85afa74 commit 0b7778f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/scala/com/exasol/common/file/FileChecker.scala
Expand Up @@ -4,7 +4,6 @@ import java.io.File
import java.io.IOException
import java.io.UncheckedIOException
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths

import com.exasol.errorreporting.ExaError
Expand Down
Expand Up @@ -35,7 +35,7 @@ class FileCheckerTest extends AnyFunSuite with Matchers with MockitoSugar {
assert(message.contains("Please make sure that file path start with '/buckets'."))
}

test("file checker throw ioexception") {
test("bucketfs file checker throws ioexception") {
val file = mock[File]
when(file.getAbsolutePath()).thenReturn("test/path")
when(file.getCanonicalPath()).thenThrow(new IOException())
Expand Down

0 comments on commit 0b7778f

Please sign in to comment.