generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use unique TF IDs for exec test resources (#136)
Testing a theory that oci_exec_test reusing IDs causes problems when one or another exec test fails, causing the other one for the same ID to run indefinitely and not respect its timeout. TF IDs uniquely identify resources and datasources, so reusing the resolved digest for the ID might not be the best. Instead, this hashes the script bytes and prepends it to the image digest, so two different tests for the same digest doesn't have the same TF ID. Signed-off-by: Jason Hall <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters