Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnmarshalDefaultRetention (0.17 sec)

  1. internal/bucket/object/lock/lock_test.go

    		if actualStatus != tt.expectedStatus {
    			t.Errorf("Expected legal hold status %s, got %s", tt.expectedStatus, actualStatus)
    		}
    	}
    }
    
    // TestUnmarshalDefaultRetention checks if default retention
    // marshaling and unmarshalling work as expected
    func TestUnmarshalDefaultRetention(t *testing.T) {
    	days := uint64(4)
    	years := uint64(1)
    	zerodays := uint64(0)
    	invalidDays := uint64(maximumRetentionDays + 1)
    	tests := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top