diff options
author | Jürg Billeter <j@bitron.ch> | 2020-04-28 11:44:27 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-04-28 19:18:57 +0200 |
commit | 051e04af4900ed7215809739151537e112127426 (patch) | |
tree | ca0b5635949d3715d77d23ce0766609544055381 | |
parent | d828169bc80fed705b665fde1ef9d1794c633b7a (diff) | |
download | buildstream-051e04af4900ed7215809739151537e112127426.tar.gz |
_platform.py: Reset Sandbox._dummy_reasons in _check_sandbox()
This fixes an isolation issue in the test suite.
-rw-r--r-- | src/buildstream/_platform/platform.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/_platform/platform.py b/src/buildstream/_platform/platform.py index dddb52bd4..ad967604f 100644 --- a/src/buildstream/_platform/platform.py +++ b/src/buildstream/_platform/platform.py @@ -81,6 +81,7 @@ class Platform: sandbox_setups["dummy"]() def _check_sandbox(self, Sandbox): + Sandbox._dummy_reasons = [] try: Sandbox.check_available() except SandboxError as Error: |