Broken master in ./spec/lib/gitlab/kubernetes/helm/parsers/list_v2_spec.rb:59
Job #551700044 failed for 565f7f09:
Failures:
1) Gitlab::Kubernetes::Helm::Parsers::ListV2#initialize raises an error on invalid JSON
Failure/Error:
expect do
described_class.new('')
end.to raise_error(described_class::ParserError, 'A JSON text must at least contain two octets!')
expected Gitlab::Kubernetes::Helm::Parsers::ListV2::ParserError with "A JSON text must at least contain two octets!", got #<Gitlab::Kubernetes::Helm::Parsers::ListV2::ParserError: 783: unexpected token at ''> with backtrace:
# ./lib/gitlab/kubernetes/helm/parsers/list_v2.rb:17:in `rescue in initialize'
# ./lib/gitlab/kubernetes/helm/parsers/list_v2.rb:13:in `initialize'
# ./spec/lib/gitlab/kubernetes/helm/parsers/list_v2_spec.rb:61:in `new'
# ./spec/lib/gitlab/kubernetes/helm/parsers/list_v2_spec.rb:61:in `block (4 levels) in <top (required)>'
Looks like the exception message changed when we upgraded the JSON gem.