From 8bba5dc6b60ae08793db202c2b13cb637c5d477c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 29 Apr 2020 22:57:37 -0700 Subject: [PATCH] test_fixtures: Include LOCAL_DATABASE_PASSWORD in digest. This ensures that if one deletes `zproject/dev-secrets.conf`, we end up rebuilding the databases from scratch (which, critically, will ensure the password that gets setup matches what's in the current version of the configuration file). This should address a category of issue we've had where deleting `zproject/dev-secrets.conf` would result in provision failing. --- zerver/lib/test_fixtures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zerver/lib/test_fixtures.py b/zerver/lib/test_fixtures.py index 51b5b08e03..06d4043732 100644 --- a/zerver/lib/test_fixtures.py +++ b/zerver/lib/test_fixtures.py @@ -79,6 +79,7 @@ class Database: return json.dumps(value, sort_keys=True) return [ + get('LOCAL_DATABASE_PASSWORD'), get('INTERNAL_BOTS'), get('REALM_INTERNAL_BOTS'), get('DISABLED_REALM_INTERNAL_BOTS'),