projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ganeti-cleaner: Remove expired X509 certs
[ganeti-local]
/
test
/
import-export_unittest-helper
diff --git
a/test/import-export_unittest-helper
b/test/import-export_unittest-helper
index
3968e1f
..
58cc65e
100755
(executable)
--- a/
test/import-export_unittest-helper
+++ b/
test/import-export_unittest-helper
@@
-33,6
+33,7
@@
from ganeti import serializer
RETRY_INTERVAL = 0.1
TIMEOUT = int(os.getenv("TIMEOUT", 10))
RETRY_INTERVAL = 0.1
TIMEOUT = int(os.getenv("TIMEOUT", 10))
+VALIDITY = int(os.getenv("VALIDITY", 1))
def _GetImportExportData(filename):
def _GetImportExportData(filename):
@@
-68,7
+69,7
@@
def main():
elif what == "connected":
WaitForConnected(filename)
elif what == "gencert":
elif what == "connected":
WaitForConnected(filename)
elif what == "gencert":
- utils.GenerateSelfSignedSslCert(filename, validity=1)
+ utils.GenerateSelfSignedSslCert(filename, validity=VALIDITY)
else:
raise Exception("Unknown command '%s'" % what)
else:
raise Exception("Unknown command '%s'" % what)