summaryrefslogtreecommitdiff
path: root/spec/lib/gitaly/server_spec.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-06-20 13:04:56 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-06-20 15:26:56 +0200
commit44528f6c444ae55008866d2861f1d160486b37d1 (patch)
tree014053b528e80d078096dc620fcbbb012ef522d9 /spec/lib/gitaly/server_spec.rb
parent4298a28a993363f4ab6b63c14820492393a3ae94 (diff)
downloadgitlab-ce-44528f6c444ae55008866d2861f1d160486b37d1.tar.gz
Add Gitaly data to the usage ping
Gitaly data wasn't available to the team, an this change is a first iteration towards understanding what data we need and how to interpret it. Later more values will be added. For now the most important thing is the filesystem String Array, as that includes data on ext4 exposure and NFS. Part of: https://gitlab.com/gitlab-org/gitlab-ce/issues/60602
Diffstat (limited to 'spec/lib/gitaly/server_spec.rb')
-rw-r--r--spec/lib/gitaly/server_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitaly/server_spec.rb b/spec/lib/gitaly/server_spec.rb
index 292ab870dad..34bd43cb3ab 100644
--- a/spec/lib/gitaly/server_spec.rb
+++ b/spec/lib/gitaly/server_spec.rb
@@ -47,6 +47,12 @@ describe Gitaly::Server do
end
end
+ describe "#filesystem_type" do
+ subject { server.filesystem_type }
+
+ it { is_expected.to be_present }
+ end
+
describe 'request memoization' do
context 'when requesting multiple properties', :request_store do
it 'uses memoization for the info request' do