zulip/zerver
Wyatt Hoodes 6b033c7909 test-backend: Add steps to deal with potential database leaks.
A function was written in `test_fixtures.py` to drop a test database
template if the corresponding database id doesn't belong to a file.
Alongside this fact, every file that is written is removed after 60
minutes.  Meaning any potential database template can never exist
longer than one hour.

This follow-up work was added to deal with the potential race
conditions when running `test-backend`.  Ensuring that all templates
are properly dealt with.

Essentially rewritten by tabbott for cleanliness.

Fixes the remainder of #12426.
2019-06-14 15:23:25 -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-backend: Add steps to deal with potential database leaks. 2019-06-14 15:23:25 -07:00
management export: Rename `--upload-to-s3` to be `--upload`. 2019-05-20 19:59:57 -07:00
migrations models: Rename notification to `enable_stream_audible_notifications`. 2019-06-12 16:24:51 -07:00
openapi api docs: Remove migrated endpoints from deprecated specs. 2019-06-13 14:31:55 -07:00
templatetags api_docs: Detect missing arguments in curl examples. 2019-05-28 16:53:48 -07:00
tests auth: Allow setting GOOGLE_OAUTH2_CLIENT_ID from dev-secrets. 2019-06-14 10:16:26 -07:00
tornado tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
views models: Rename notification to `enable_stream_audible_notifications`. 2019-06-12 16:24:51 -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 models: Rename notification to `enable_stream_audible_notifications`. 2019-06-12 16:24:51 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
static_header.txt