Skip to content

JS SDK: dead_server connection fixture flakes (OutcomeUnknownError vs ConnectionLostError) #351

Closed

Description

@jsam

Found by the test-strategy review on main edb8bc3: 1 of 3 re-runs fails. | new, found here | JS SDK unit connection fixtures > dead_server expects OutcomeUnknownError, gets ConnectionLostError; 1 of 3 re-runs of the file fails on main edb8bc3b | the fixture (packages/inputlayer-js/tests/fixtures/connection/dead_server.json, from #237) has the mock server accept one write then stall; the SDK must fail the write as outcome-unknown at its deadline, but sometimes the connection teardown wins and reports connection-lost (timing-dependent) | unreported; the JS unit suite runs only in the full suite, so no PR sees it. Fix the race in the mock or the SDK, add it to the conformance set, and run the JS suite on PRs (T-05) |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions