Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Improve log output for a negative test case #737

Closed
ashahi1 opened this issue Nov 16, 2016 · 1 comment
Closed

Improve log output for a negative test case #737

ashahi1 opened this issue Nov 16, 2016 · 1 comment

Comments

@ashahi1
Copy link
Contributor

ashahi1 commented Nov 16, 2016

Test is expected to fail since it tries to delete a non-existing vsan policy but from the console log its not clear if its an expected failure or its a genuine product issue.

=====================================

console output:

Running unit tests in /tmp/vmdk_ops_unittest21044/vsan_policy_test.py...
...ERROR:root:Failed to remove test_policy policy file
Traceback (most recent call last):
  File "/tmp/vmdk_ops_unittest21044/vsan_policy.py", line 209, in delete
    os.remove(policy_path(name))
OSError: [Errno 2] No such file or directory: '/vmfs/volumes/vsan:52fe282b8b5a398c-e41bd80f9e940d46/dockvols/policies/test_policy'
..
@shuklanirdesh82
Copy link
Contributor

Thanks Anup! Changes are merged so closing this now.

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

No branches or pull requests

3 participants