scenario.py: Print existing ports at the end of the test when debug is turned on

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2022-01-11 13:21:40 -08:00
committed by shivam
parent 6c8e2dd9cb
commit 95777f8b31

View File

@@ -121,6 +121,8 @@ class LoadScenario(Realm):
print('Scenario failed to load after %s seconds' % self.timeout)
else:
print('Waiting %s out of %s seconds to load scenario %s' % (timer, self.timeout, self.scenario))
if self.debug:
print(self.json_get('/port'))
def main():