cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10632) sstableutil tests failing on Windows
Date Mon, 02 Nov 2015 18:30:27 GMT


Joshua McKenzie commented on CASSANDRA-10632:

While NTFS itself is case sensitive, most things in the Windows API / using Win32 are case-insensitive
(tools used in command-prompt, command-prompt itself, etc), including treatment of file names.

> sstableutil tests failing on Windows
> ------------------------------------
>                 Key: CASSANDRA-10632
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Jim Witschey
>            Assignee: Jim Witschey
>             Fix For: 3.0.0
> {{}} and {{}}
fail on Windows:
> This is a pretty simple failure -- looks like the underlying behavior is ok, but string
comparison fails when the leading {{d}} in the filename is lowercase as returned by {{sstableutil}}
(see the [{{_invoke_sstableutil}} test function|]),
but uppercase as returned by {{glob.glob}} (see the [{{_get_sstable_files}} test function|]).
> Do I understand correctly that Windows filenames are case-insensitive, including the
drive portion? If that's the case, then we can just lowercase the file names in the test helper
functions above when the tests are run on Windows. [~JoshuaMcKenzie] can you confirm? I'll
fix this in the tests if so. If I'm wrong, and something in {{sstableutil}} needs to be fixed,
could you find an assignee?

This message was sent by Atlassian JIRA

View raw message