pulumi / pulumi-terraform-bridge

A library allowing Terraform providers to be bridged into Pulumi.
Apache License 2.0
199 stars 43 forks source link

Use Parallel in bridge tests #2551

Closed VenelinMartinov closed 3 weeks ago

VenelinMartinov commented 3 weeks ago

This adds t.Parallel to most tests, except the ones which:

  1. Use t.Setenv - that's not allowed for go tests
  2. The ones which break - a few tests had issues being run in parallel so I've opted to leave them as before.

We also now enforce t.Parallel via a linter.

This should help speed up our tests in the future but the bottleneck is currently the non-parallel tests.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.83%. Comparing base (ed56fc2) to head (9189c1a). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2551 +/- ## ======================================= Coverage 62.83% 62.83% ======================================= Files 384 384 Lines 51728 51728 ======================================= Hits 32505 32505 Misses 17403 17403 Partials 1820 1820 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pulumi-bot commented 2 weeks ago

This PR has been shipped in release v3.95.0.