Skip to content

Modify "makeTestData" to handle existing directory#9

Open
Sujishark wants to merge 1 commit intopaleozogt:masterfrom
Sujishark:fix-test
Open

Modify "makeTestData" to handle existing directory#9
Sujishark wants to merge 1 commit intopaleozogt:masterfrom
Sujishark:fix-test

Conversation

@Sujishark
Copy link

The test org.paleozogt.gradle.zip.SymZipPluginTest.sampleBuildTest is not idempotent and fails if run twice in the same JVM, because it pollutes state shared among tests. The test fails when it tries to build a directory which is already existing.

The changes ensure that the existing build directory is properly cleaned before executing makeTestData.

Please let me know if you want to discuss further about the changes.

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.

1 participant