Commit dd7caa6c authored by ale's avatar ale

fix tests after change of default for proxyStreams

parent c64af39d
...@@ -166,6 +166,7 @@ func TestHTTPRedirector_Source(t *testing.T) { ...@@ -166,6 +166,7 @@ func TestHTTPRedirector_Source(t *testing.T) {
} }
func TestHTTPRedirector_Relay(t *testing.T) { func TestHTTPRedirector_Relay(t *testing.T) {
*proxyStreams = false
ctx := createTestHttpContext(t) ctx := createTestHttpContext(t)
defer ctx.Close() defer ctx.Close()
...@@ -177,10 +178,6 @@ func TestHTTPRedirector_Relay(t *testing.T) { ...@@ -177,10 +178,6 @@ func TestHTTPRedirector_Relay(t *testing.T) {
func TestHTTPRedirector_IcecastProxy(t *testing.T) { func TestHTTPRedirector_IcecastProxy(t *testing.T) {
*proxyStreams = true *proxyStreams = true
defer func() {
*proxyStreams = false
}()
ctx := createTestHttpContext(t) ctx := createTestHttpContext(t)
defer ctx.Close() defer ctx.Close()
......
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