Added Version test case

pull/18622/head
20sr20 1 year ago
parent deb1e7528c
commit ef5a4e0cd3

@ -504,6 +504,14 @@ var baseCases = map[string]testCase{
{Name: "kind", Value: "control-plane-request-limit"},
},
},
"consul.usage.test.version;version=1.7.0;pre_release=dev": {
Name: "consul.usage.test.version",
Value: 0,
Labels: []metrics.Label{
{Name: "version", Value: "1.7.0"},
{Name: "pre_release", Value: "dev"},
},
},
},
getMembersFunc: func() []serf.Member { return []serf.Member{} },
},
@ -995,6 +1003,14 @@ var baseCases = map[string]testCase{
{Name: "kind", Value: "control-plane-request-limit"},
},
},
"consul.usage.test.version;version=1.7.0;pre_release=dev": {
Name: "consul.usage.test.version",
Value: 0,
Labels: []metrics.Label{
{Name: "version", Value: "1.7.0"},
{Name: "pre_release", Value: "dev"},
},
},
},
},
}

Loading…
Cancel
Save