perl's testsuite for example depends on the level after the nice
switch it does be lower than before - which is not the case when run
with 19.
Signed-off-by: Jan Engelhardt
---
dist/obsworker | 2 +-
dist/sysconfig.obs-worker | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dist/obsworker b/dist/obsworker
index 295f19c..ad2f82d 100755
--- a/dist/obsworker
+++ b/dist/obsworker
@@ -54,7 +54,7 @@ fi
if [ -n "$OBS_WORKER_NICE_LEVEL" ]; then
OBS_NICE=$OBS_WORKER_NICE_LEVEL
else
- OBS_NICE=19
+ OBS_NICE=18
fi
if [ -n "$OBS_REPO_SERVERS" ]; then
diff --git a/dist/sysconfig.obs-worker b/dist/sysconfig.obs-worker
index 3838d3c..b5e9345 100644
--- a/dist/sysconfig.obs-worker
+++ b/dist/sysconfig.obs-worker
@@ -118,13 +118,16 @@ OBS_CACHE_SIZE=""
## Path: Applications/OBS
## Description: Defines the nice level of running workers
## Type: integer
-## Default: 19
+## Default: 18
## Config: OBS
#
# Nicenesses range from -20 (most favorable scheduling) to 19 (least
# favorable).
+# Default to 18 as some testsuites depend on being able to switch to
+# one priority below (19) _and_ having changed the numeric level
+# (so going from 19->19 makes them fail).
#
-OBS_WORKER_NICE_LEVEL=19
+OBS_WORKER_NICE_LEVEL=18
## Path: Applications/OBS
## Description: Set used VM type by worker
--
1.7.0.4
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org