IBM / cloudant-node-sdk

Cloudant SDK for Node.js
Apache License 2.0
28 stars 13 forks source link

test: fix intermittent timeouts in follower UTs #1490

Closed ricellis closed 6 months ago

ricellis commented 6 months ago

PR summary

Fix intermittent timeouts in follower UTs.

Fixes: sdks 903

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

PR Checklist

Please make sure that your PR fulfills the following requirements:

PR Type

What is the current behavior?

Tests intermittently time out.

What is the new behavior?

Tests are much quicker

Does this PR introduce a breaking change?

Other information

The main thing this change does is avoid generating a ton of random strings that is time consuming. Instead it derives uniqueness from the doc number etc.

Oh and a baseline change, because detect secrets.