summaryrefslogtreecommitdiffstats
path: root/src/software/test
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-11-04 18:23:32 +0100
committerMichal Minar <miminar@redhat.com>2013-11-07 10:01:17 +0100
commit26b6f0286e1efe5b7043ace4bc998167510169f4 (patch)
treefbd882e6ce2d27f6566baf0178c739e3521660b1 /src/software/test
parent634e88d0c777ad7064946f617ae311d02791b1e6 (diff)
downloadopenlmi-providers-26b6f0286e1efe5b7043ace4bc998167510169f4.tar.gz
openlmi-providers-26b6f0286e1efe5b7043ace4bc998167510169f4.tar.xz
openlmi-providers-26b6f0286e1efe5b7043ace4bc998167510169f4.zip
software: optimalize tests
Limit number of randomly selected packages to speed up tests.
Diffstat (limited to 'src/software/test')
-rw-r--r--src/software/test/rpmcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/software/test/rpmcache.py b/src/software/test/rpmcache.py
index d314bfa..b4be748 100644
--- a/src/software/test/rpmcache.py
+++ b/src/software/test/rpmcache.py
@@ -71,7 +71,7 @@ RE_AVAILABLE_EXCLUDE = re.compile(
# Maximum number of packages, that will be selected for testing / 2
# There are 2 sets of test packages (safe and dangerous). When running
# in dangerous mode, the resulting number will be twice as much.
-MAX_PKG_DB_SIZE = 10
+MAX_PKG_DB_SIZE = 3
# step used to iterate over package names used to check for thery dependencies
# it's a number of packages, that will be passed to yum command at once
PKG_DEPS_ITER_STEP = 50