Skip to content

Isolate Core DELETE response fixture from inherited certificate-root overrides #2345

Backlog

Description

@khaliqgant

The Core test relay::client::tests::n10_delete_once_requires_complete_absence_and_preserves_bounded_error_metadata starts a loopback listener before calling delete_once. With nonempty inherited SSL_CERT_FILE or SSL_CERT_DIR, sdk_http::guarded_transport correctly refuses before sending HTTP. The worker then hits its bounded accept failure and the intended response assertions do not run.

This test-fixture portability gap comes from CodeRabbit review 6180954433, body tag cb7c40c5080b1ed1edbedb4e, on #2336. It is deferred, not fixed in that candidate. The completed local suites used a clean certificate environment and do not qualify the inherited-override case. Production's rejection of certificate-file overrides remains intentional.

Use an owned, bounded exact-test child that removes both variables only in its child environment. Preserve the parent's environment, production trust checks and existing HTTP/error assertions.

Validation:

  • Run the controlling test with each override, then both; require the child to execute every existing DELETE response/absence/quota/metadata case.
  • Require a nonzero exact-test success frame, finite timeout and owned child cleanup.
  • Confirm the parent environment is unchanged and an unisolated production transport still refuses overrides before HTTP.
  • Retain the ordinary clean-environment positive; report platform coverage accurately.

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