Skip to content

Commit

Permalink
Test: Disable the test for known bug #149
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Zizka committed Dec 1, 2024
1 parent 2e56aa9 commit 4451082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/main/kotlin/cz/dynawest/csvcruncher/Cruncher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ class Cruncher(private val options: Options) {
try {
val existedBefore = File(dbPath).exists()
FileUtils.forceMkdir(File(dbPath))
if (options.dbDirOnExit == ExitCleanupStrategy.DELETE && !existedBefore)
if (options.dbDirOnExit == ExitCleanupStrategy.DELETE && !existedBefore) {
File(dbPath).deleteOnExit()
log.debug("Will delete on exit: $dbPath")
}
jdbcConn = DriverManager.getConnection("jdbc:hsqldb:file:$dbPath;shutdown=true;sql.syntax_mys=true", "SA", "")
}
catch (e: IOException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class OptionsCombinationsTest {
* The solution is not trivial, it needs to determine the output columns, using some merging of common columns,
* probably utilizing SQL's NATURAL JOIN to reuse the same-named columns.
*/
@Test
@Test @Disabled("Known bug #149.")
fun combineInputDir_JsonAndCsv_defaultSql_issue149(testInfo: TestInfo) {
val command =
" | -in | $testDataDir/sample-multiFile-json+csv" +
Expand Down

0 comments on commit 4451082

Please sign in to comment.