Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-02-13 23:31:30 +0300
committerRémy Coutable <remy@rymai.me>2018-02-14 14:31:16 +0300
commit080dba4a7e036e4bcb9cae69c5de6bfa33ff8b2e (patch)
tree9a7b3906b01dc2b99c7cfa10ecd20a024e8aaa1e /spec/migrations/README.md
parent1c91c4e3f7009d6e50ba046aff7b672a0f761d41 (diff)
Avoid dropping tables in test
And use :migration tag to use deletion strategy, and to avoid caching tables, and to lock into a particular schema. Attempting to fix intermittent spec errors `PG::UndefinedTable: ERROR: relation "public.untracked_files_for_uploads" does not exist`.
Diffstat (limited to 'spec/migrations/README.md')
-rw-r--r--spec/migrations/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/README.md b/spec/migrations/README.md
index 45cf25b96de..49760fa62b8 100644
--- a/spec/migrations/README.md
+++ b/spec/migrations/README.md
@@ -89,5 +89,5 @@ end
## Best practices
1. Note that this type of tests do not run within the transaction, we use
-a truncation database cleanup strategy. Do not depend on transaction being
+a deletion database cleanup strategy. Do not depend on transaction being
present.