Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
brooke-hamilton opened this issue Jan 23, 2025 · 1 comment
Labels
bug Something is broken or not working as expected

Comments

@brooke-hamilton
Copy link
Member

brooke-hamilton commented Jan 23, 2025

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

@brooke-hamilton brooke-hamilton added the bug Something is broken or not working as expected label Jan 23, 2025
@radius-triage-bot
Copy link

👋 @brooke-hamilton Thanks for filing this bug report.

A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.

For more information on our triage process please visit our triage overview

@brooke-hamilton brooke-hamilton changed the title AWS test runs two test cases in parallel but should be sequential AWS tests run two test cases in parallel that should be sequential, causing transient error Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant