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>2022-06-01 21:09:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-01 21:09:44 +0300
commit68d5cc2d9d162def465657d4696eb58e9b3906a7 (patch)
tree519bd74d24a4cb97dea4c9041d192156eb6263a6 /spec/lib/gitlab/graphql/tracers
parentdd5d37c7f69039a2f3bcca188cedcd95cae66139 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/graphql/tracers')
-rw-r--r--spec/lib/gitlab/graphql/tracers/logger_tracer_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/graphql/tracers/logger_tracer_spec.rb b/spec/lib/gitlab/graphql/tracers/logger_tracer_spec.rb
index 5bc077a963e..20792fb4554 100644
--- a/spec/lib/gitlab/graphql/tracers/logger_tracer_spec.rb
+++ b/spec/lib/gitlab/graphql/tracers/logger_tracer_spec.rb
@@ -8,7 +8,7 @@ RSpec.describe Gitlab::Graphql::Tracers::LoggerTracer do
use Gitlab::Graphql::Tracers::LoggerTracer
use Gitlab::Graphql::Tracers::TimerTracer
- query_analyzer Gitlab::Graphql::QueryAnalyzers::LoggerAnalyzer.new
+ query_analyzer Gitlab::Graphql::QueryAnalyzers::AST::LoggerAnalyzer
query Graphql::FakeQueryType
end
@@ -20,11 +20,11 @@ RSpec.describe Gitlab::Graphql::Tracers::LoggerTracer do
end
end
- it "logs every query", :aggregate_failures do
+ it "logs every query", :aggregate_failures, :unlimited_max_formatted_output_length do
variables = { name: "Ada Lovelace" }
query_string = 'query fooOperation($name: String) { helloWorld(message: $name) }'
- # Build an actual query so we don't have to hardocde the "fingerprint" calculations
+ # Build an actual query so we don't have to hardcode the "fingerprint" calculations
query = GraphQL::Query.new(dummy_schema, query_string, variables: variables)
expect(::Gitlab::GraphqlLogger).to receive(:info).with({