Skip to content

better client logs for flaky insert and work test, shorter test connect timeout#224

Merged
bgentry merged 4 commits intomasterfrom
bg-rework-insert-test
Mar 2, 2024
Merged

better client logs for flaky insert and work test, shorter test connect timeout#224
bgentry merged 4 commits intomasterfrom
bg-rework-insert-test

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented Feb 24, 2024

This contains a few small fixes and logging improvements encountered while debugging flaky tests from #213. The main one that actually fixes one of the flaky scenarios is included in the final commit: shortening ConnectTimeout from 10s to 2s in tests. By failing faster than our typical test timeout, the occasional flaky conn attempt that hangs will no longer make the test immediately fail. In my testing this completely eliminated this one flaky test cause (of several).

@bgentry bgentry requested a review from brandur February 24, 2024 22:02
@bgentry
Copy link
Contributor Author

bgentry commented Feb 24, 2024

@brandur this can of course wait until after #212 is merged. Don't want to delay that one at all, and it should be easy to rebase this little on / figure out what equivalent changes to make once that is merged.

bgentry added 4 commits March 2, 2024 16:23
The intention here is to avoid attempts that are likely to hang forever,
and instead give up while there's still enough time for the test to have
a chance of succeeding.
@bgentry bgentry force-pushed the bg-rework-insert-test branch from e26518a to 8158e23 Compare March 2, 2024 22:23
@bgentry bgentry merged commit 9e8408c into master Mar 2, 2024
@bgentry bgentry deleted the bg-rework-insert-test branch March 2, 2024 22:27
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.

2 participants