Skip to content

Conversation

@GraciesPadre
Copy link
Contributor

These tests started to fail after correcting for resource files that had Windoze line endings. The fix is to use the file system to tell us how big the resource file is and to have the resource file we compare to use \n as line ending and whose content is determined from an origin file with \n line endings.

Also fixed a couple tests that weren't cleaning up after themselves.

Copy link
Contributor

@DenverM80 DenverM80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. This should resolve the inconsistencies between test ordering.


} finally {
FileUtils.deleteDirectory(tempDirectory.toFile());
deleteBigFile();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will delete the file from BUCKET_NAME, but wasn't the file placed in DIR_NAME in this test?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nm

}
} finally {
FileUtils.deleteDirectory(tempDirectory.toFile());
deleteBigFile();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question as above

@RachelTucker RachelTucker merged commit fc08e58 into SpectraLogic:master Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants