Skip to content

Commit

Permalink
Actually use the error group that I went out of my way to use
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutchinson committed Dec 5, 2024
1 parent 6cf14fc commit 73617b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions storage/mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,14 @@ func TestGetTile(t *testing.T) {
func() error {
_, _, err := awaiter.Await(ctx, s.Add(ctx, tessera.NewEntry([]byte(fmt.Sprintf("TestGetTile %d", i)))))
if err != nil {
return fmt.Errorf("Failed to prep test with entry: %v", err)
return fmt.Errorf("failed to prep test with entry: %v", err)
}
return nil
})
}
wg.Wait()
if err := wg.Wait(); err != nil {
t.Fatalf("Failed to set up database with required leaves: %v", err)
}

for _, test := range []struct {
name string
Expand Down

0 comments on commit 73617b3

Please sign in to comment.