zulip/zerver
Wyatt Hoodes ccfcd6b4d8 test_runner: Fix accumulation of uniquely named test templates.
N = self.parallel templates are created, and these templates were
previously named 'zulip_test_template_<1, N>'.  However, to support
running multiple instances of `test-backend`, a unique
`random_id_range_start` was created for each template database.

There was no problem prior because the templates would simply be
used again and thus did not require any clean up. Now that there are
unique database names being created, every time `test-backend` is run
these templates can accumulate on disk.  Instead, we clean up our
templates at the end of every complete run of the test suite, or upon a
SIGINT.

Fixes: #12426
2019-06-06 14:45:32 -07:00
..
data_import import: Handle hidden_by_limit case for files in slack import. 2019-05-30 12:01:09 -07:00
lib test_runner: Fix accumulation of uniquely named test templates. 2019-06-06 14:45:32 -07:00
management export: Rename `--upload-to-s3` to be `--upload`. 2019-05-20 19:59:57 -07:00
migrations retention: Add message_retention_days field to Stream model. 2019-06-06 11:17:42 -07:00
openapi docs: modify update-message-flag to contain information about flags. 2019-06-04 00:40:47 -07:00
templatetags api_docs: Detect missing arguments in curl examples. 2019-05-28 16:53:48 -07:00
tests openapi: Add validation of parameter lists against actual code. 2019-06-06 13:41:07 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views settings: Add display setting for demoting inactive streams. 2019-06-03 23:07:56 -07:00
webhooks webhooks/bitbucket2: Account for missing username in user data. 2019-06-03 20:00:17 -07:00
worker public_export: Add support for deleting export after access. 2019-05-31 22:54:27 -07:00
__init__.py
apps.py python: Mark intentionally unused imports with noop statements. 2019-02-22 16:54:47 -08:00
context_processors.py open graph: Uploaded realm icon URL is absolute for some backends. 2019-05-20 13:14:28 -07:00
decorator.py rate_limiter: Create a general rate_limit_request_by_entity function. 2019-05-30 16:50:11 -07:00
filters.py filters: Don't include realm_counts/installation_counts in errors. 2019-04-30 14:10:59 -07:00
forms.py authenticate: Remove default values for required parameters. 2019-05-27 23:47:22 -07:00
logging_handlers.py try_git_describe: Set cwd, not --git-dir. 2019-02-28 14:59:33 -08:00
middleware.py rate_limiter: Create a general rate_limit_request_by_entity function. 2019-05-30 16:50:11 -07:00
models.py retention: Add message_retention_days field to Stream model. 2019-06-06 11:17:42 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt