Skip to content

MTP retry: add a --retry-delay-seconds option to add delay in seconds between retries #7542

Description

@jkone27

Summary

could add a --retry-delay-seconds 2 option to MTP retry package, to allow to wait for a delay between retries

probably in retry orchestration here?
https://github.com/microsoft/testfx/blob/main/src/Platform/Microsoft.Testing.Extensions.Retry/RetryOrchestrator.cs

Background and Motivation

it can be useful in some cases to wait between retries for flaky tests or tests interacting with external environments like message queues etc.

Proposed Feature

could add a --retry-delay-seconds 2 option to MTP retry package, to allow to wait for a delay between retries

Alternative Designs

unknown / add delay manually to each test

Activity

  1. added
    area/mtp
    and removed
    needs/triage
    on Mar 13, 2026
  2. Copilot commented on Apr 13, 2026

    Copilot
    Contributor

    The agent encountered an error and was unable to start working on this issue: The service is temporarily unavailable. Please try again later. (Request id: 3966:8D986:4D00B1:39FF64:69DD02FF)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/mtp

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions