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

sql/importer: unskip TestCSVImportCanBeResumed #94010

Merged

Conversation

stevendanna
Copy link
Collaborator

This unskips the test and adds a memory limit. The test completed 1500+ runs under stress. I believe #93782 resolved the main source of flakiness here.

Fixes #91828

Release note: None

@stevendanna stevendanna requested a review from a team December 20, 2022 21:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

thanks!

@@ -668,6 +664,7 @@ func TestCSVImportCanBeResumed(t *testing.T) {
BulkAdderFlushesEveryBatch: true,
},
},
SQLMemoryPoolSize: 1 << 30, // 1 GiB
Copy link
Contributor

Choose a reason for hiding this comment

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

This LGTM, but I think in other places we've dropped how much kv.bulk_ingest.pk_buffer_size asks for to begin with to prevent the memory monitor from shouting at us.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

This unskips the test and adds a memory limit. The test completed
1500+ runs under stress. I believe cockroachdb#93782 resolved the main source of
flakiness here.

Fixes cockroachdb#91828

Release note: None
@stevendanna stevendanna force-pushed the unskip-TestCSVImportCanBeResumed branch from 76e7646 to d522dab Compare January 3, 2023 10:20
@stevendanna
Copy link
Collaborator Author

Test failures look unrelated:

bors r=rafiss

@craig
Copy link
Contributor

craig bot commented Jan 3, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jan 3, 2023

Build succeeded:

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.

sql/importer: flake in TestCSVImportCanBeResumed [ingestKVs hangs with BulkAdderFlushesEveryBatch]
4 participants