Change in vdsm[master]: tests: Disable slow and stress tests by default

danken at redhat.com danken at redhat.com
Thu Sep 11 09:17:47 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: tests: Disable slow and stress tests by default
......................................................................


tests: Disable slow and stress tests by default

Currently developers must use this crazy long command line when
running the tests:

    NOSE_SKIP_STRESS_TESTS=1 NOSE_SKIP_SLOW_TESTS=1 make check

If you don't add the environment variables, you are wasting your time
waiting for slow and stress tests, or worse, stress tests may fail
because your system is overloaded.

This patch disables slow and stress tests by default, so the common way
to run the tests is just:

    make check

To enable slow and stress tests, you can use new shorter environment
variables:

    NOSE_STRESS_TESTS=1 NOSE_SLOW_TESTS=1 make check

The new environment variables are also documented now.

Change-Id: Id671a54261e8ef6595277b64b2e4222931ddccd6
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/32523
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M tests/README
M tests/testValidation.py
2 files changed, 46 insertions(+), 22 deletions(-)

Approvals:
  Nir Soffer: Verified
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id671a54261e8ef6595277b64b2e4222931ddccd6
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list