Skip to content

Updating sqllogictests with cargo test --test sqllogictests -- --complete fails "failed to rename file from" #13142

@findepi

Description

@findepi

This should work

cargo test --test sqllogictests -- --complete

Currently, it does not:

$ cargo test --test sqllogictests -- --complete
...
Running "information_schema_columns.slt"
Running "unnest.slt"
Running "information_schema_multiple_catalogs.slt"
Running "map.slt"
Execution error: Error completing "string/string_view.slt": failed to rename file from test_files/string/string_query.slt.part.temp to test_files/string/./string_query.slt.part
Execution error: Error completing "string/large_string.slt": failed to rename file from test_files/string/string_query.slt.part.temp to test_files/string/./string_query.slt.part
Execution error: Error completing "string/dictionary_utf8.slt": failed to rename file from test_files/string/string_query.slt.part.temp to test_files/string/./string_query.slt.part
Error: Execution("3 failures")
error: test failed, to rerun pass `-p datafusion-sqllogictest --test sqllogictests`

Caused by:
  process didn't exit successfully: `.../target/debug/deps/sqllogictests-ab68b2841bcae5a2 --complete` (exit status: 1)
...

A workaround is to --complete only individual tests, which is cumbersome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions