Skip to content

Commit

Permalink
Add t.Parallel() to some more e2e tests.
Browse files Browse the repository at this point in the history
This will speed up prow runs. We should figure out a way to ensure
these get added automatically in the future.
  • Loading branch information
dlorenc authored and tekton-robot committed Mar 13, 2019
1 parent 8c8854f commit 3a5a1e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/artifact_bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func TestStorageBucketPipelineRun(t *testing.T) {
}
logger := logging.GetContextLogger(t.Name())
c, namespace := setup(t, logger)
t.Parallel()

knativetest.CleanupOnInterrupt(func() { tearDown(t, logger, c, namespace) }, logger)
defer tearDown(t, logger, c, namespace)
Expand Down
1 change: 1 addition & 0 deletions test/dag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import (
func TestDAGPipelineRun(t *testing.T) {
logger := logging.GetContextLogger(t.Name())
c, namespace := setup(t, logger)
t.Parallel()

knativetest.CleanupOnInterrupt(func() { tearDown(t, logger, c, namespace) }, logger)
defer tearDown(t, logger, c, namespace)
Expand Down
1 change: 1 addition & 0 deletions test/embed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func getEmbeddedTaskRun(namespace string) *v1alpha1.TaskRun {
func TestTaskRun_EmbeddedResource(t *testing.T) {
logger := logging.GetContextLogger(t.Name())
c, namespace := setup(t, logger)
t.Parallel()

knativetest.CleanupOnInterrupt(func() { tearDown(t, logger, c, namespace) }, logger)
defer tearDown(t, logger, c, namespace)
Expand Down

0 comments on commit 3a5a1e8

Please sign in to comment.