Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(bigquery/storage/managedwriter): address data race #6249

Merged
merged 1 commit into from Jun 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions bigquery/storage/managedwriter/integration_test.go
Expand Up @@ -640,11 +640,11 @@ func testSchemaEvolution(ctx context.Context, t *testing.T, mwClient *Client, bq
for i := 0; i < 5; i++ {
wg.Add(1)
go func() {
result, err = ms.AppendRows(ctx, [][]byte{b}, UpdateSchemaDescriptor(descriptorProto))
res, err := ms.AppendRows(ctx, [][]byte{b}, UpdateSchemaDescriptor(descriptorProto))
if err != nil {
t.Errorf("failed evolved append: %v", err)
}
_, err = result.GetResult(ctx)
_, err = res.GetResult(ctx)
if err != nil {
t.Errorf("error on evolved append: %v", err)
}
Expand Down