Skip to content

Sourcegraph integration when sourcegraph feature is enabled show the form failed

rspec ./spec/views/admin/application_settings/integrations.html.haml_spec.rb:17 # admin/application_settings/integrations.html.haml sourcegraph integration when sourcegraph feature is enabled show the form
 rspec ./spec/views/admin/application_settings/integrations.html.haml_spec.rb:27 # admin/application_settings/integrations.html.haml sourcegraph integration when sourcegraph feature is disabled show the form
Failures:
   1) admin/application_settings/integrations.html.haml sourcegraph integration when sourcegraph feature is enabled show the form
      Failure/Error: render(partial, locals) if partial_exists?(partial)
      WebMock::NetConnectNotAllowedError:
        Real HTTP connections are disabled. Unregistered request: HEAD http://elastic:changeme@elasticsearch:9200/gitlab-test with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip,deflate', 'Authorization'=>'Basic ZWxhc3RpYzpjaGFuZ2VtZQ==', 'Content-Type'=>'application/json', 'Date'=>'Fri, 21 Feb 2020 16:18:59 GMT', 'User-Agent'=>'Faraday v0.15.4'}
        You can stub this request with the following snippet:
        stub_request(:head, "http://elastic:changeme@elasticsearch:9200/gitlab-test").
          with(
            headers: {
        	  'Accept'=>'*/*',
        	  'Accept-Encoding'=>'gzip,deflate',
        	  'Authorization'=>'Basic ZWxhc3RpYzpjaGFuZ2VtZQ==',
        	  'Content-Type'=>'application/json',
        	  'Date'=>'Fri, 21 Feb 2020 16:18:59 GMT',
        	  'User-Agent'=>'Faraday v0.15.4'
            }).
          to_return(status: 200, body: "", headers: {})

Job #445999163 failed for f4a2c742: