mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/promscrape: temporary disable TestClientProxyReadOk
This test is very flaky and prevents other tests from running in CI. Disabling this test should improve tests quality, since it isn't reliable anyway. There is a ticket to fix this test - https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7062 Once fixed, this test should be uncommented. Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
5319acb8ed
commit
c7569dac50
1 changed files with 2 additions and 6 deletions
|
@ -1,9 +1,7 @@
|
|||
package promscrape
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/base64"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"net"
|
||||
|
@ -12,9 +10,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/VictoriaMetrics/VictoriaMetrics/lib/bytesutil"
|
||||
"github.com/VictoriaMetrics/VictoriaMetrics/lib/promauth"
|
||||
"github.com/VictoriaMetrics/VictoriaMetrics/lib/proxy"
|
||||
)
|
||||
|
||||
func copyHeader(dst, src http.Header) {
|
||||
|
@ -113,7 +109,7 @@ func newTestAuthConfig(t *testing.T, isTLS bool, ba *promauth.BasicAuthConfig) *
|
|||
return ac
|
||||
}
|
||||
|
||||
func TestClientProxyReadOk(t *testing.T) {
|
||||
/*func TestClientProxyReadOk(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
f := func(isBackendTLS, isProxyTLS bool, backendAuth, proxyAuth *promauth.BasicAuthConfig) {
|
||||
t.Helper()
|
||||
|
@ -198,4 +194,4 @@ func TestClientProxyReadOk(t *testing.T) {
|
|||
f(false, true, &promauth.BasicAuthConfig{Username: "test", Password: promauth.NewSecret("1234")}, nil)
|
||||
// backend tls and proxy auth
|
||||
f(true, false, nil, &promauth.BasicAuthConfig{Username: "proxy-test", Password: promauth.NewSecret("1234")})
|
||||
}
|
||||
}*/
|
||||
|
|
Loading…
Reference in a new issue