mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
feat: Add system test for etcd
This commit is contained in:
+6
-1
@@ -133,6 +133,10 @@ class BaseTest(object):
|
||||
aptlyDir = ".aptly"
|
||||
aptlyConfigFile = ".aptly.conf"
|
||||
expectedCode = 0
|
||||
databaseEtcd = os.environ.get("APTLY_ETCD_DATABASE")
|
||||
if databaseEtcd is None:
|
||||
databaseEtcd = ""
|
||||
|
||||
configFile = {
|
||||
"rootDir": f"{os.environ['HOME']}/{aptlyDir}",
|
||||
"downloadConcurrency": 4,
|
||||
@@ -151,7 +155,8 @@ class BaseTest(object):
|
||||
"enableMetricsEndpoint": True,
|
||||
"logLevel": "debug",
|
||||
"logFormat": "default",
|
||||
"serveInAPIMode": True
|
||||
"serveInAPIMode": True,
|
||||
"databaseEtcd": databaseEtcd,
|
||||
}
|
||||
configOverride = {}
|
||||
environmentOverride = {}
|
||||
|
||||
Reference in New Issue
Block a user