Commit b00423b2 authored by Jim Fulton's avatar Jim Fulton

Make weird intermittent test failure in non-test maybe more

debuggable.
parent 9380d692
...@@ -537,6 +537,9 @@ Let's fix the recipe: ...@@ -537,6 +537,9 @@ Let's fix the recipe:
... for d in created: ... for d in created:
... os.rmdir(d) ... os.rmdir(d)
... assert not os.path.exists(d) ... assert not os.path.exists(d)
... logging.getLogger(self.name).info(
... 'Removed %s due to error',
... os.path.basename(d))
... raise ... raise
... ...
... return paths ... return paths
...@@ -565,6 +568,7 @@ When we rerun the buildout: ...@@ -565,6 +568,7 @@ When we rerun the buildout:
Installing data-dir. Installing data-dir.
data-dir: Creating directory foo data-dir: Creating directory foo
data-dir: Creating directory bin data-dir: Creating directory bin
data-dir: Removed foo due to error
While: While:
Installing data-dir. Installing data-dir.
<BLANKLINE> <BLANKLINE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment