Here is an example failure if you remove the time.Sleep test statements now:
--- FAIL: TestAccTimeStatic_Triggers (0.88s)
/Users/austin.valle/code/terraform-provider-time/internal/provider/resource_time_static_test.go:58: Step 3/3 error: Post-apply refresh state check(s) failed:
expected values to differ, but they are the same: 2024-08-07T16:13:29Z == 2024-08-07T16:13:29Z
FAIL
FAIL github.com/hashicorp/terraform-provider-time/internal/provider 1.556s
FAIL
Ref: https://github.com/hashicorp/terraform-plugin-testing/issues/295
Here is an example failure if you remove the
time.Sleep
test statements now: