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

Fix flaky TestIcebergMinioOrcConnectorTest #22773

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

nineinchnick
Copy link
Member

@nineinchnick nineinchnick commented Jul 23, 2024

Description

TestIcebergMinioOrcConnectorTest.testOptimizeTimePartitionedTable is failing intermittently, where there's a congestion on HTTP connections in the S3 client. Slightly increasing the number of available connections should fix it.

Switching to a single thread doesn't make the tests slower.

Fixes #21736

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

In concurrent mode, testOptimizeTimePartitionedTable is failing
intermittently, where there's a congestion on HTTP connections in the S3
client. Switching to a single thread doesn't make the tests slower.
@cla-bot cla-bot bot added the cla-signed label Jul 23, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Jul 23, 2024
@nineinchnick
Copy link
Member Author

Note, the test I updated uses MinIO, so there's no need for running all tests with secrets.

@wendigo
Copy link
Contributor

wendigo commented Jul 23, 2024

@nineinchnick ping me once it's green

@wendigo
Copy link
Contributor

wendigo commented Jul 23, 2024

@nineinchnick still failing

The limit was decreased in a33044e, but
it's too low. It's causing a congestion when working with Iceberg manifest
files during optimize. Revert it back to the previous value.
@nineinchnick nineinchnick reopened this Jul 25, 2024
@nineinchnick nineinchnick changed the title Make TestIcebergMinioOrcConnectorTest single threaded Fix flaky TestIcebergMinioOrcConnectorTest Jul 25, 2024
@wendigo
Copy link
Contributor

wendigo commented Jul 25, 2024

@nineinchnick can you stress test this change?

@nineinchnick nineinchnick force-pushed the fix-flaky-optimize-partitioned branch from 3851fb6 to 7c83dbe Compare July 25, 2024 13:12
@wendigo
Copy link
Contributor

wendigo commented Jul 25, 2024

All failed successfully I see :)

@nineinchnick nineinchnick force-pushed the fix-flaky-optimize-partitioned branch from 7c83dbe to 948de9b Compare July 25, 2024 13:49
@wendigo wendigo merged commit 93293d0 into trinodb:master Jul 25, 2024
46 of 70 checks passed
@nineinchnick nineinchnick deleted the fix-flaky-optimize-partitioned branch July 25, 2024 13:53
@github-actions github-actions bot added this to the 453 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

Flaky TestIcebergMinioOrcConnectorTest.testOptimizeTimePartitionedTable
2 participants