Commit 545c9455 authored by Stan Hu's avatar Stan Hu

Fix update-tests-metadata CI step failing in master

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30627 changed
`JSON.parse` to `Gitlab::JSON.parse`, but the latter isn't available in
the simple CI script since it doesn't load a Rails environment.

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/216349
parent 1035dddc
......@@ -19,7 +19,7 @@ module RspecFlaky
end
def self.load_json(json)
new(RspecFlaky::FlakyExamplesCollection.new(Gitlab::Json.parse(json)))
new(RspecFlaky::FlakyExamplesCollection.new(JSON.parse(json)))
end
def initialize(flaky_examples)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment