Skip to content

sql: fix flaky batch size test#62604

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:fix-batch-size-test
Mar 25, 2021
Merged

sql: fix flaky batch size test#62604
craig[bot] merged 1 commit intocockroachdb:masterfrom
jordanlewis:fix-batch-size-test

Conversation

@jordanlewis
Copy link
Copy Markdown
Member

Closes #62576
Closes #62566

Release note: None

@jordanlewis jordanlewis requested review from a team and yuzefovich March 25, 2021 14:45
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis)


pkg/sql/colfetcher/vectorized_batch_size_test.go, line 72 at r1 (raw file):

			assert.NoError(t, err)
			if foundBatches != 1 {
				t.Log(sb.String())

nit: why not return an error here? If returning the error outside of the loop, maybe we should do t.Log there as well so that the whole output is logged?

Copy link
Copy Markdown
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs make bazel-generate.

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis)

@jordanlewis jordanlewis force-pushed the fix-batch-size-test branch from d82630d to 0ad1de6 Compare March 25, 2021 19:54
@jordanlewis
Copy link
Copy Markdown
Member Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 25, 2021

Build succeeded:

@craig craig bot merged commit 502045f into cockroachdb:master Mar 25, 2021
@jordanlewis jordanlewis deleted the fix-batch-size-test branch March 26, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

colexec: TestScanBatchSize flaked sql/colfetcher: TestScanBatchSize failed

3 participants