fix: don't check tls fingerprints when checking connectivity

This commit is contained in:
James Houlahan
2020-10-28 16:07:15 +01:00
parent 10509621ce
commit 9e0635a6a4
5 changed files with 114 additions and 73 deletions

View File

@ -382,7 +382,7 @@ func TestProxyProvider_UseProxy_RevertIfProxyStopsWorkingAndOriginalAPIIsReachab
// The error should be ErrAPINotReachable because the connection dropped intermittently but
// the original API is now reachable (see Alternative-Routing-v2 spec for details).
url, err = cm.switchToReachableServer()
require.EqualError(t, err, ErrAPINotReachable.Error())
require.Error(t, err)
require.Equal(t, rootURL, url)
require.Equal(t, rootURL, cm.getHost())
}