diff --git a/minio/resource_minio_ilm_policy_test.go b/minio/resource_minio_ilm_policy_test.go index 72176b67..8e46f296 100644 --- a/minio/resource_minio_ilm_policy_test.go +++ b/minio/resource_minio_ilm_policy_test.go @@ -105,6 +105,8 @@ func TestAccILMPolicy_expireNoncurrentVersion(t *testing.T) { Check: resource.ComposeTestCheckFunc( testAccCheckMinioILMPolicyExists(resourceName, &lifecycleConfig), testAccCheckMinioLifecycleConfigurationValid(&lifecycleConfig), + resource.TestCheckResourceAttr( + resourceName, "rule.0.noncurrent_version_expiration_days", "5"), ), }, },