Add -no-lock to aptly api serve to excercise locking.

This commit is contained in:
Andrey Smirnov
2016-01-24 23:02:46 +03:00
parent 219315c01d
commit 9738687116
+1 -1
View File
@@ -27,7 +27,7 @@ class APITest(BaseTest):
if APITest.aptly_server is None:
super(APITest, self).prepare()
APITest.aptly_server = self._start_process("aptly api serve -listen=%s" % (self.base_url),)
APITest.aptly_server = self._start_process("aptly api serve -no-lock -listen=%s" % (self.base_url),)
time.sleep(1)
if os.path.exists(os.path.join(os.environ["HOME"], ".aptly", "upload")):