Skip to content

[coverage] Conformance findings: AUTH-221001 #1828

Closed

Description

@peco-engineer-bot

Summary

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-jdbc. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-jdbc) is fixed, then flips green as a tripwire.

Findings

  • AUTH-221001 [thrift, sea]: OAuth M2M token POST has no per-request HTTP timeout: it is bounded only by the general-purpose socketTimeout (default 900s), so a hung token endpoint stalls every call queued behind the credential provider for up to 15 minutes
    • failing test: testOAuthM2MTokenRequestBoundedWhenTokenEndpointHangs (see the coverage PR diff under tests/)
  • AUTH-221001: OAuth M2M token POST has no per-request HTTP timeout: it is bounded only by the general-purpose socketTimeout (default 900s), so a token endpoint that accepts the connection and never answers stalls every call queued behind the credential provider for up to 15 minutes

Reproduce & Expected

AUTH-221001 — Verifies that an OAuth M2M (client-credentials) token request is bounded by a finite HTTP timeout: when the token endpoint accepts the connection and then never answers, the driver abandons that toke…

Reproduce:

  • Attempt to connect and run SELECT 1 on a bounded worker (thread/task/process
    with its own watchdog). The attempt's result is ignored and the attempt is
    abandoned once the probe observations are read - only the probe is asserted.

Expected (per the shared spec):

  • full assertion contract:
result:
- token_request_observed: true
- token_request_abandoned_within_seconds: 120

Context

Activity

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