Skip to content

Add timeout support for test execution #3

Description

@yuvicc

Add timeout support to the test runner to prevent tests from hanging indefinitely when handler binaries become unresponsive or take too long to respond. Currently, the test runner in runner/runner.go waits indefinitely for responses from handler binaries.

One possible solution came in my mind was we can have a configurable option to set the timeout duration. A CLI flag to set the timeout duration with default value:

-timeout duration        Timeout for individual test execution (default: 30s)

CC @stringintech

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions