Dan Kenigsberg has submitted this change and it was merged.

Change subject: tests: mark testRunningStats as broken
......................................................................


tests: mark testRunningStats as broken

tests/vmApiTests was an early attempt to test that
the output of API verb [vdsm.virt.]VM.getStats()
was compliant to the schema.

Because of how the sampling code currently
works, to check for running stats is racy.
Moreover, much more solid schemaCompliancyTests was
recently added.

The best course of action in the medium/long term
is to refacor both the sampling and the testing
code. To have more testable code will avoid races
in the tests.

Until that time, to avoid noise and to waste time,
this patch marks the current broken test as such.

Change-Id: I314a84d1d067256a40afd1ec4523b68ea94aa70d
Signed-off-by: Francesco Romani <from...@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/37275
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
---
M tests/vmApiTests.py
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Verified



-- 
To view, visit http://gerrit.ovirt.org/37275
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I314a84d1d067256a40afd1ec4523b68ea94aa70d
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to