Yaniv Bronhaim has uploaded a new change for review.

Change subject: stressCheckTest fails because it passes the rlimit
......................................................................

stressCheckTest fails because it passes the rlimit

We tried to use 75 precent of rlimit, but most of the time the os is
already uses more then 25 precent and the test creates more threads than
the os can.
This patch changes it to 50% of rlimit.

Change-Id: I7c3236f0b160406e3d9d5ecb782f7493f4ea0461
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M tests/resourceManagerTests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/51/8051/1

diff --git a/tests/resourceManagerTests.py b/tests/resourceManagerTests.py
index 46afc8f..84708cf 100644
--- a/tests/resourceManagerTests.py
+++ b/tests/resourceManagerTests.py
@@ -599,7 +599,7 @@
         requests = []
 
         procLimit, _ = getrlimit(RLIMIT_NPROC)
-        procLimit *= 0.75
+        procLimit *= 0.5
         procLimit = int(procLimit)
         threadLimit = threading.Semaphore(procLimit)
         nthreads = procLimit


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c3236f0b160406e3d9d5ecb782f7493f4ea0461
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to