Skip to content

Commit 2c5bdfe

Browse files
authored
Merge pull request #1421 from prometheus-operator/as/parallelize-e2e
2 parents ade7f0d + 3eec2b6 commit 2c5bdfe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/e2e/main_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func TestQueryPrometheus(t *testing.T) {
121121
}
122122

123123
func 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

144145
func 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.
171173
func 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

281284
func 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) {

0 commit comments

Comments
 (0)