mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
fix tracing integration test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
ff7942be83
commit
2180ec8e8f
@ -311,7 +311,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "POST /api/v1/nodes",
|
name: "POST /api/v1/nodes",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
@ -430,7 +430,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "GET /api/v1/nodes/{:name}",
|
name: "GET /api/v1/nodes/{:name}",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
@ -520,7 +520,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "GET /api/v1/nodes",
|
name: "GET /api/v1/nodes",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
@ -606,7 +606,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "PUT /api/v1/nodes/{:name}",
|
name: "PUT /api/v1/nodes/{:name}",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
@ -750,7 +750,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "PATCH /api/v1/nodes/{:name}",
|
name: "PATCH /api/v1/nodes/{:name}",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
@ -871,7 +871,7 @@ endpoint: %s`, listener.Addr().String())), os.FileMode(0755)); err != nil {
|
|||||||
{
|
{
|
||||||
name: "DELETE /api/v1/nodes/{:name}",
|
name: "DELETE /api/v1/nodes/{:name}",
|
||||||
attributes: map[string]func(*commonv1.AnyValue) bool{
|
attributes: map[string]func(*commonv1.AnyValue) bool{
|
||||||
"http.user_agent": func(v *commonv1.AnyValue) bool {
|
"user_agent.original": func(v *commonv1.AnyValue) bool {
|
||||||
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
return strings.HasPrefix(v.GetStringValue(), "tracing.test")
|
||||||
},
|
},
|
||||||
"http.target": func(v *commonv1.AnyValue) bool {
|
"http.target": func(v *commonv1.AnyValue) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user