Skip to content

Conversation

@spyder46n2
Copy link
Contributor

Fixing restricted asset test - it was previously valid to freeze and unfreeze multiple times in one. As of PR #704 this is no longer the case. Now the tests freezes once, and expects assertion on the second attempt.
Also found a problem in the test runner --loop argument. If a test during an early loop fails, it will fail every loop afterwards - This is because the directory structure is not deleted when a test fails (to allow looking at logs etc). The options were to override the directory (would lose any debug info), or to create a new directory - this is what it now does. The test now simply appends a "random" integer to the end of the pathname. This will allow for tests to continue to run with or without error as desired.

Copy link
Contributor

@cfox cfox 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!

@spyder46n2 spyder46n2 merged commit f36cae2 into develop Dec 10, 2019
@spyder46n2 spyder46n2 deleted the mney_fix_loop_and_restricted_assets_test branch December 10, 2019 21:16
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