summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/optimistic_locking_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-1/+1
|
* Add frozen_string_literal to lib part 2Thong Kuah2019-08-231-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reloadKamil Trzciński2019-04-151-2/+2
| | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add basic specs for optimistic locking mixinGrzegorz Bizon2017-02-231-3/+16
|
* Make retry_lock to not be infiniteuse-optimistic-lockingKamil Trzcinski2016-10-271-0/+11
|
* Add tests for optimistic lockingKamil Trzcinski2016-10-261-0/+28