From 59f8444a90537cde0202bcc30b6d2b8cfade4840 Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 18 Jul 2025 01:42:03 -0700 Subject: [PATCH] fix test --- test/s3/retention/s3_retention_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/s3/retention/s3_retention_test.go b/test/s3/retention/s3_retention_test.go index 54eb12848..6a5a946a0 100644 --- a/test/s3/retention/s3_retention_test.go +++ b/test/s3/retention/s3_retention_test.go @@ -438,7 +438,7 @@ func TestObjectLockConfiguration(t *testing.T) { require.NoError(t, err) assert.Equal(t, types.ObjectLockEnabledEnabled, configResp.ObjectLockConfiguration.ObjectLockEnabled) assert.Equal(t, types.ObjectLockRetentionModeGovernance, configResp.ObjectLockConfiguration.Rule.DefaultRetention.Mode) - assert.Equal(t, int32(30), configResp.ObjectLockConfiguration.Rule.DefaultRetention.Days) + assert.Equal(t, int32(30), *configResp.ObjectLockConfiguration.Rule.DefaultRetention.Days) } // TestRetentionWithVersions tests retention with specific object versions