File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ func TestQueryPrometheus(t *testing.T) {
121121}
122122
123123func TestDroppedMetrics (t * testing.T ) {
124+ t .Parallel ()
124125 // query metadata for all metrics and their metadata
125126 md , err := promClient .metadata ("{job=~\" .+\" }" )
126127 if err != nil {
@@ -142,6 +143,7 @@ func TestDroppedMetrics(t *testing.T) {
142143}
143144
144145func TestTargetsScheme (t * testing.T ) {
146+ t .Parallel ()
145147 // query targets for all endpoints
146148 tgs , err := promClient .targets ()
147149 if err != nil {
@@ -169,6 +171,7 @@ func TestTargetsScheme(t *testing.T) {
169171// trigger "many-to-many" evaluation errors when multiple kube-state-metrics
170172// instances are running.
171173func TestFailedRuleEvaluations (t * testing.T ) {
174+ t .Parallel ()
172175 // Scale kube-state-metrics to 2 replicas.
173176 kClient := promClient .kubeClient
174177
@@ -279,6 +282,7 @@ func TestFailedRuleEvaluations(t *testing.T) {
279282}
280283
281284func TestGrafana (t * testing.T ){
285+ t .Parallel ()
282286 kClient := promClient .kubeClient
283287
284288 err := wait .Poll (30 * time .Second , 5 * time .Minute , func () (bool , error ) {
You can’t perform that action at this time.
0 commit comments