Skip to content

Commit

Permalink
Update sdk/resource/resource_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <pellared@hotmail.com>
  • Loading branch information
jaredjenkins and pellared authored Aug 7, 2023
1 parent ed488f8 commit d720ac6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdk/resource/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,8 @@ func TestResourceRace(t *testing.T) {
// Creating Resources should also be free of any ASAN issues,
// because Resources are immutable.
var wg sync.WaitGroup
wg.Add(2)

for i := 0; i < 2; i++ {
wg.Add(1)
go func() {
defer wg.Done()
d := &fakeDetector{}
Expand Down

0 comments on commit d720ac6

Please sign in to comment.