Skip to content

Conversation

@Kornel-Toth
Copy link
Contributor

@Kornel-Toth Kornel-Toth commented Jan 30, 2026

What

Increase test timeout from 1s to 4s in testStartTransientErrorsWithSuppressionDurationErrorTermination

Fixes: sdks #1184

Why

The test has tight timing margins (100ms error suppression + jittered backoff retries) that can exceed the 1s timeout under heavy Jenkins load. With randomized backoff delays, the current timeout gives ~1/120 chance of failure. Increasing to 4s reduces this to ~1/1000 while still catching legitimate timing issues.

Test

Green build

PR summary

Fixes: https://github.ibm.com/cloudant/sdks/issues/1184

Note: An existing issue is required before opening a PR.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the
    Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@Kornel-Toth Kornel-Toth self-assigned this Jan 30, 2026
@Kornel-Toth Kornel-Toth merged commit 3c15c6e into main Jan 30, 2026
10 checks passed
@Kornel-Toth Kornel-Toth deleted the 1184-changes-follower-flake-timeout-increase branch January 30, 2026 14:11
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.

4 participants