summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/gitaly_client_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42GitLab Bot2022-07-201-5/+53
|
* Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot2021-11-181-23/+0
|
* Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot2021-06-161-8/+0
|
* Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42GitLab Bot2021-02-181-16/+48
|
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-201-3/+1
|
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-181-3/+3
|
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-201-0/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-241-1/+58
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-131-0/+53
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-221-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898GitLab Bot2019-12-161-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-131-3/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-111-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-071-1/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-081-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-011-0/+22
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-251-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-191-5/+5
|
* Use stub_rails_env for Rails.env stubbing66966-convert-rails-env-stub-usages-to-use-railshelpers-stub_rails_env-insteadAsh McKenzie2019-09-051-1/+1
| | | | | RailsHelpers.stub_rails_env takes care of stubbing Rails.env
* Handle when server info doesn't have the storage in questionJohn Cai2019-08-231-0/+10
|
* Fix exception handling in Gitaly autodetectionStan Hu2019-07-301-0/+10
| | | | | | | In SELinux, the file cannot be written, and `Errno::EACCES`, not `Errno::ACCESS` is thrown. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65328
* Fix Gitaly auto-detection cachingStan Hu2019-07-191-0/+13
| | | | | | | | If `GitalyClient#can_use_disk?` returned `false`, it was never cached properly and led to excessive number of Gitaly calls. Instead of using `cached_value.present?`, we need to check `cached_value.nil?`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64802
* Remove catfile cache feature flagjc-remove-catfile-flagJohn Cai2019-07-151-11/+0
|
* Move Gitaly feature flag logic to Feature::GitalyZeger-Jan van de Weg2019-06-181-14/+0
| | | | | | | The GitalyClient held a lot of logic which was all very tightly coupled. In this instance the feature logic was extracted to make it do just a little less and create a bit more focus in the GitalyClient's responsibilies.
* Add gitaly session id & catfile-cache feature flagJohn Cai2019-04-291-0/+42
|
* Add feature flag to enforce gitaly request limitsMark Lapierre2019-03-111-1/+37
| | | | | | | | We typically don't want to enforce request limits in production However, we have some production-like test environments, i.e., ones where `Rails.env.production?` returns `true`. We do want to be able to check if the limit is being exceeded while testing in those environments.
* Add connection_data method to Gitaly clientValery Sizov2019-01-251-0/+9
| | | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7434
* More tls gitaly docsAhmad Hassan2018-12-211-0/+8
|
* Log certificate loading errors into sentryAhmad Hassan2018-12-201-0/+16
|
* Followups on reviewAhmad Hassan2018-12-191-23/+22
|
* Merge remote-tracking branch 'origin/master' into support-gitaly-tlsAhmad Hassan2018-12-111-95/+31
|\
| * Fix bug where ID is not setrevert-fd6e3781Zeger-Jan van de Weg2018-11-201-0/+25
| | | | | | | | | | On HEAD~ we remove the ID from the class, which created a bug. Given we don't need the ID anymore, it has been removed and simplified.
| * Revert "Merge branch 'revert-e2aa2177' into 'master'"Zeger-Jan van de Weg2018-11-201-95/+6
| | | | | | This reverts merge request !23229
| * Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"revert-e2aa2177Sean McGivern2018-11-201-6/+95
| | | | | | This reverts merge request !23140
| * Remove duplicate tests for GitalyZeger-Jan van de Weg2018-11-191-95/+6
| | | | | | | | | | The disabling of Gitaly was basically stubbing `Feature.enabled?` call, which was never triggered.
* | Add more specsAhmad Hassan2018-10-311-0/+18
| |
* | Add gitaly client specsAhmad Hassan2018-10-311-0/+15
|/
* Add a gRPC health check to ensure Gitaly is upsh-add-gitaly-health-checkStan Hu2018-01-241-0/+25
| | | | | | This will enable Geo to skip shards that not operational. Relates to gitlab-org/gitlab-ee#4329
* Move encoding methods to the more general EncodingHelpergitaly-encoding-helpersAlejandro Rodríguez2017-12-281-14/+0
|
* Add timeouts for Gitaly callsAndrew Newdigate2017-11-291-0/+16
|
* Fix for Gitaly nil encoding issueAndrew Newdigate2017-10-031-0/+14
|
* Detect n+1 issues involving GitalyAndrew Newdigate2017-09-191-0/+124
|
* Gitaly feature toggles are on by default in development environmentsAndrew Newdigate2017-09-071-0/+16
|
* 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>
* Renamed Gitaly servicesAndrew Newdigate2017-07-181-4/+4
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-6/+18
|
* Add feature toggles through FlipperAlejandro Rodríguez2017-05-311-1/+81
|
* Don't reuse gRPC channelsJacob Vosmaer2017-05-151-6/+15
| | | | | | It seems that bad things happen when two gRPC stubs share one gRPC channel so let's stop doing that. The downside of this is that we create more gRPC connections; one per stub.