Skip to content

AWS tests run two test cases in parallel that should be sequential, causing transient error #8282

@brooke-hamilton

Description

@brooke-hamilton

Steps to reproduce

There is no reliable way to reproduce the issue because it is caused by the timing of parallel tests, but it appears in this test run.

    cli.go:341: [rad]       "details": [
    cli.go:341: [rad]         {
    cli.go:341: [rad]           "code": "AlreadyExists",
    cli.go:341: [rad]           "message": "radiusfunctionaltestbucket-6ab9d6f8-a99e-42ac-939a-fee6b4b3c6bd already exists (Service: S3, Status Code: 0, Request ID: null)"
    cli.go:341: [rad]         }

Observed behavior

aws_mechanics_test.go contains two test steps that are intended to run one after the other in order to prove that a resource can be updated (source link).

However, the two test steps are executed by passing the steps to the RTTest.Test() func, which specifies that test steps should be run in parallel (source link)

Desired behavior

The two test cases defined in this class should run sequentially, not in parallel.

Workaround

The only workaround is to requeue the test workflow.

rad Version

0.42.0

Operating system

GitHub workflow PR validation

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

AB#14145

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or not working as expectedtriagedThis issue has been reviewed and triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions