fix unit tests on arm

and fix etcd data dir
This commit is contained in:
André Roth
2024-12-03 20:05:45 +08:00
parent 280563caa8
commit e92afd8f78
3 changed files with 7 additions and 7 deletions

View File

@@ -253,8 +253,8 @@ class BaseTest(object):
self.shutdown_etcd()
# remove existing database
if os.path.exists("/tmp/etcd-data"):
shutil.rmtree("/tmp/etcd-data")
if os.path.exists("/tmp/aptly-etcd-data"):
shutil.rmtree("/tmp/aptly-etcd-data")
if self.fixtureDB:
print("import etcd")