text_fixtures: Rename migration status file to have test in name.

This is preparation for making things clear as we move towards not
always rebuilding the test database in provision.
This commit is contained in:
Tim Abbott 2017-06-02 12:48:30 -07:00
parent 6d00da2b80
commit a0ef2babab
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ EOF
sh "$(dirname "$0")/../../scripts/setup/flush-memcached" sh "$(dirname "$0")/../../scripts/setup/flush-memcached"
./manage.py migrate --noinput --settings=zproject.test_settings ./manage.py migrate --noinput --settings=zproject.test_settings
migration_status "var/migration-status" migration_status "var/migration_status_test"
# This next line can be simplified to "-n0" once we fix our app (and tests) with 0 messages. # This next line can be simplified to "-n0" once we fix our app (and tests) with 0 messages.
./manage.py populate_db --settings=zproject.test_settings --test-suite -n30 \ ./manage.py populate_db --settings=zproject.test_settings --test-suite -n30 \

View File

@ -95,7 +95,7 @@ def _check_hash(target_hash_file, status_dir):
def is_template_database_current( def is_template_database_current(
database_name='zulip_test_template', database_name='zulip_test_template',
migration_status='var/migration-status', migration_status='var/migration_status_test',
settings='zproject.test_settings', settings='zproject.test_settings',
status_dir='var/test_db_status', status_dir='var/test_db_status',
check_files=None): check_files=None):