diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-18 01:42:03 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-18 01:42:03 -0700 |
| commit | 59f8444a90537cde0202bcc30b6d2b8cfade4840 (patch) | |
| tree | 29ba97da1a3bfa63dd2f919c0ec11d4006dfb7a1 | |
| parent | bcc7a74a25d21ad1585d1df0206cb8251e0df06c (diff) | |
| download | seaweedfs-59f8444a90537cde0202bcc30b6d2b8cfade4840.tar.xz seaweedfs-59f8444a90537cde0202bcc30b6d2b8cfade4840.zip | |
fix test
| -rw-r--r-- | test/s3/retention/s3_retention_test.go | 2 |
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 |
