Skip to content

S2AStubTest.send_receiveOkStatus is slow, and confusing #12581

@ejona86

Description

@ejona86

send_receiveOkStatus takes 20 seconds to run, which caught my attention as being extremely slow (potentially the slowest non-integration test we have). It appears this is because it is relying on the RPC's timeout of HANDSHAKE_RPC_DEADLINE_SECS = 20. But that leads to the question: Why is a "receiveOkStatus" test timing out? The test has assertThat(expected).hasMessageThat().contains("DEADLINE_EXCEEDED");, so apparently this is expected. But at the very least the test seems poorly named, so it isn't clear what it is trying to accomplish.

@rmehta19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions