Module: check_mk
Branch: master
Commit: 355575db3d8b19799f5e914b17b60568436667f1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=355575db3d8b19…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 7 15:04:06 2019 +0100
Hopefully fix inter process locking during tests now
Change-Id: I6a4762e9abab6673b3fab09d1aca676d2560dbe2
---
tests/testlib/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index ba0196a..a70c513 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -100,7 +100,7 @@ class APIError(Exception):
def InterProcessLock(filename):
fd = None
try:
- fd = os.open(filename, os.O_RDONLY | os.O_CREAT, 0660)
+ fd = os.open(filename, os.O_RDONLY | os.O_CREAT, 0666)
fcntl.flock(fd, fcntl.LOCK_EX)
yield
fcntl.flock(fd, fcntl.LOCK_UN)