Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve CacheClearTest #2418

Merged
merged 2 commits into from Oct 14, 2017
Merged

Conversation

bcbrr
Copy link
Contributor

@bcbrr bcbrr commented Aug 25, 2017

  • Prevent directory access failures when re-running these tests.
  • Mark skipped tests as skipped.

@bcbrr bcbrr force-pushed the teardown-cache-clear-test branch 2 times, most recently from 7031b1d to e3805f6 Compare August 25, 2017 13:08
This seems to vary across systems, but the unwritable test cache created by testCacheClearWithoutWritePermission() can cause tests to fail when executed again.
@roadster31
Copy link
Contributor

Hi, thanks for this PR.

I'm working on Windows 7, and did not experienced failures with this test.

What is your windows version ?

@zorn-v
Copy link
Contributor

zorn-v commented Oct 14, 2017

It fails other test on any *nix on second run coz not restoring write perms. On windows it does not sense (I mean testCacheClearWithoutWritePermission)
Similar fix there https://github.com/thelia/thelia/pull/2397/files#diff-3f5a58f45459188bb80d4c372308faf0 (but without mark skipped on windows)

@roadster31 roadster31 merged commit 45657c1 into thelia:master Oct 14, 2017
@roadster31
Copy link
Contributor

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants