From cf19cee571409e31c4f2dfd66a0916c7d6e19207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 2 Oct 2019 23:53:23 +0200 Subject: [PATCH] [test] The debugging proxy cucumber step is not available anymore Go's official proxy implementation doesn't allow any proxy configuration from environment variables to be applied to requests to `localhost`. --- features/steps.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/features/steps.rb b/features/steps.rb index 4ece844f..3457aa64 100644 --- a/features/steps.rb +++ b/features/steps.rb @@ -157,12 +157,6 @@ Given(/^the GitHub API server:$/) do |endpoints_str| set_environment_variable 'HUB_TEST_HOST', "http://127.0.0.1:#{@server.port}" end -Given(/^I use a debugging proxy(?: at "(.+?)")?$/) do |address| - address ||= 'localhost:8888' - set_environment_variable 'HTTP_PROXY', address - set_environment_variable 'HTTPS_PROXY', address -end - Then(/^shell$/) do cd('.') do system '/bin/bash -i' -- GitLab