Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Issue 1468983002: trial_dir: remove files after auto-unmocking stuff. (Closed)

Created:
5 years ago by tandrii(chromium)
Modified:
5 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/testing_support.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

trial_dir: remove files after auto-unmocking stuff. If a test mocks low level filesystem calls (such as open and listdir), then rmtree of trial_dir will still use the mocks, resulting in spurious test failures. Instead, first auto-unmock things, and then do rm_tree. R=akuegel@chromium.org, akuegel@google.com, phajdan@google.com CC=iannucci@google.com,pgervais@google.com BUG= Committed: https://chromium.googlesource.com/infra/testing/testing_support/+/1208413163890b24836e5b3295147bd2b2cc3fb8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M testing_support/trial_dir.py View 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 4 (1 generated)
tandrii(chromium)
PTAL
5 years ago (2015-11-23 11:06:41 UTC) #1
Adrian Kuegel
lgtm
5 years ago (2015-11-23 11:09:02 UTC) #3
tandrii(chromium)
5 years ago (2015-11-23 11:20:03 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1208413163890b24836e5b3295147bd2b2cc3fb8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698