This pull request simplifies the test failure retry system by removing all channel logic and making use of testing.TB (interface) across all helper functions. This ensures retry closures always access the *acceptance.WrappedT wrapper rather than directly accessing *testing.T, which resolves an issue where certain retryable tests (e.g. TestAccIPv6Range_raceCondition) would hang indefinitely on failure.
✔️ How to Test
The following test steps assume you have pulled down this PR locally.
Integration Testing
Running All Tests
make int-test
Verifying the Hanging Tests Fix
Ensure the number of resources provisioned in the ipv6range_route_target test template (located in linode/ipv6range/tmpl/route_target.gotf) is greater than your account's IPv6 allocation limit.
Run the TestAccIPv6Range_raceCondition test:
make PKG_NAME=linode/ipv6range ARGS="-run TestAccIPv6Range_raceCondition" int-test
Ensure the test fails after 3 attempts without hanging.
Alter the test template to provision fewer resources than your account's IPv6 allocation limit.
📝 Description
This pull request simplifies the test failure retry system by removing all channel logic and making use of testing.TB (interface) across all helper functions. This ensures retry closures always access the
*acceptance.WrappedT
wrapper rather than directly accessing*testing.T
, which resolves an issue where certain retryable tests (e.g.TestAccIPv6Range_raceCondition
) would hang indefinitely on failure.✔️ How to Test
The following test steps assume you have pulled down this PR locally.
Integration Testing
Running All Tests
Verifying the Hanging Tests Fix
Ensure the number of resources provisioned in the
ipv6range_route_target
test template (located inlinode/ipv6range/tmpl/route_target.gotf
) is greater than your account's IPv6 allocation limit.Run the
TestAccIPv6Range_raceCondition
test: