Skip to content

RetryTest.testClassLevelRetryMaxDuration margin for error is too tight #569

Open
@Joseph-Cass

Description

@Joseph-Cass

https://github.com/eclipse/microprofile-fault-tolerance/blob/ab7b622b2f7cb6fde39aaa6871a382a9ae1a75f1/tck/src/main/java/org/eclipse/microprofile/fault/tolerance/tck/RetryTest.java#L195

The ServiceB() in the method has a 1000ms maxDuration, the default 200ms jitter, and a 100ms Thread.sleep between retries. This means in a worst case scenario the test only has 100ms (1000ms - (200ms + 100ms)*3) to deal with processing time, system writes, and server blips, before executing the minimum required 4 retries for the assert.

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