azure-service-operator icon indicating copy to clipboard operation
azure-service-operator copied to clipboard

Modify coded tests to create resources in parallel

Open theunrepentantgeek opened this issue 2 years ago • 3 comments

Describe the current behavior

We've identified that some of our coded tests (in the internal/controllers package) create all the resources one at a time, and therefore don't reveal whether there are issues with our sequencing/ordering of resource creation.

Describe the improvement

Instead of calling CreateResourceAndWait() one at a time, we should modify the tests to call CreateResourcesAndWait() (the plural form) to create everything at once.

Additional context

This will require rerecording the tests against live Azure and may flush out some edge case bugs.

theunrepentantgeek avatar Jun 19 '23 23:06 theunrepentantgeek