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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-16 21:12:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-16 21:12:21 +0300
commitc1436508fa677bbe850e1e13761d2e6b791c698c (patch)
tree620acc1fdce3c6da394389816060920e46dc4d83 /spec/support/database
parent3563f193744bf8bca9a1099fe6f6399c8883ec7e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/database')
-rw-r--r--spec/support/database/multiple_databases.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/database/multiple_databases.rb b/spec/support/database/multiple_databases.rb
index bae7c726628..9e72ea589e3 100644
--- a/spec/support/database/multiple_databases.rb
+++ b/spec/support/database/multiple_databases.rb
@@ -78,6 +78,9 @@ RSpec.configure do |config|
)
example.run
+
+ # Cleanup connection_specification_name for Ci::ApplicationRecord
+ Ci::ApplicationRecord.remove_connection
end
end
end