mirror of
https://github.com/containous/traefik.git
synced 2025-01-26 10:03:48 +03:00
fix: OpenTelemetry metrics flaky test
This commit is contained in:
parent
6cb2ff2af9
commit
bab48bed22
@ -287,8 +287,6 @@ func TestOpenTelemetry_GaugeCollectorSet(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestOpenTelemetry(t *testing.T) {
|
func TestOpenTelemetry(t *testing.T) {
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
c := make(chan *string)
|
c := make(chan *string)
|
||||||
defer close(c)
|
defer close(c)
|
||||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user