Repository navigation
feat: Add FDv1 client-side retry conformance tests (V2/V3 consolidation) - #573
Draft
kinyoklion wants to merge 1 commit into
Draft
kinyoklion wants to merge 1 commit into
kinyoklion wants to merge 1 commit into
Conversation
The fdv1 branch has the client-side streaming and polling retry tests of #501: an SDK with the retry-conformance capabilities keeps retrying after an unexpected HTTP error, uses the extended-regime backoff, and returns to the normal regime after healthy operation. The server-side polling reset test now detects an SDK that does not reset its retry state, and the harness stops waiting for an SDK client to close after two minutes. Generated-by: termag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the tests of #501 into the
fdv1branch: client-side streaming and polling retry tests for theretry-conformance-fdv1-streamingandretry-conformance-fdv1-pollingcapabilities, a server-side polling reset test that detects an SDK that does not reset its retry state, a stricter server-side healthy-operation test, and a two-minute limit on closing an SDK client. The service spec describes theattemptsrule that the timing windows assume, and that a test service must applypolling.pollIntervalMsbelow the SDK minimum for the client-side polling tests. Based on #572.Tested against the node-client (mobile and JS) and Go server SDK test services: the long-running client-side streaming tests pass, and the server-side healthy-operation test passes. The new server-side polling reset test fails against the Go SDK, because after a successful poll the SDK does not poll again at its interval, which RETRY 1.4.8 requires. The fast client-side polling tests fail against node-client, because its test service does not set
pollIntervalMsfor FDv1 and the JS SDK has a 30-second minimum.Opened from termag
SDK-3491