Skip to content

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

@jkone27

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

Metadata

Metadata

Labels

Area: MTPBelongs to the Microsoft.Testing.Platform core library

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions