Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor system tests to remove short-lived secret #1882

Open
@daniel-sanche

Description

@daniel-sanche

We currently have a number of system tests that require a short-lived secret to pass (default_explicit_authorized_user_* testsin noxfile). These tests require us to construct a new secret token ever ~2 days for tests to pass, which isn't a sustainable test strategy. Building the secret requires us to call some internal stubby endpoints, so it's not easy to build one during the tests in a kokoro environment

For now, we addressed this by treatingRefreshErrors as success, allowing the tests to pass even if the token is expired. Long term, we should re-think this, and find a way to test this use-case without needing to manually merge new secrets multiple times a week

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp