Changeset: b6af47f0ae37 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b6af47f0ae37
Modified Files:
        testing/process.py
Branch: Jul2021
Log Message:

In MonetDBtesting use vault key if it exists when starting a new process


diffs (13 lines):

diff --git a/testing/process.py b/testing/process.py
--- a/testing/process.py
+++ b/testing/process.py
@@ -423,6 +423,9 @@ class server(Popen):
             dbfarm = _dbfarm
         dbpath = os.path.join(dbfarm, dbname)
         cmd.append('--dbpath=%s' % dbpath)
+        if os.path.exists(os.path.join(dbpath, '.vaultkey')):
+            cmd.extend(['--set',
+                        'monet_vault_key={}'.format(os.path.join(dbpath, 
'.vaultkey'))])
         for i in range(len(cmd)):
             if cmd[i].startswith('--dbextra='):
                 dbextra_path = cmd[i][10:]
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to