aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-07-18 01:42:03 -0700
committerchrislu <chris.lu@gmail.com>2025-07-18 01:42:03 -0700
commit59f8444a90537cde0202bcc30b6d2b8cfade4840 (patch)
tree29ba97da1a3bfa63dd2f919c0ec11d4006dfb7a1 /test
parentbcc7a74a25d21ad1585d1df0206cb8251e0df06c (diff)
downloadseaweedfs-59f8444a90537cde0202bcc30b6d2b8cfade4840.tar.xz
seaweedfs-59f8444a90537cde0202bcc30b6d2b8cfade4840.zip
fix test
Diffstat (limited to 'test')
-rw-r--r--test/s3/retention/s3_retention_test.go2
1 files changed, 1 insertions, 1 deletions
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