Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedBuf (0.07 sec)

  1. cmd/xl-storage_test.go

    				// results. In this scenario return 'n' is always lesser than the input buffer.
    				if err == io.ErrUnexpectedEOF {
    					if !bytes.Equal(testCase.expectedBuf, buf[:n]) {
    						t.Errorf("Case: %d %#v, expected: \"%s\", got: \"%s\"", i+1, testCase, string(testCase.expectedBuf), string(buf[:n]))
    					}
    					if n > int64(len(buf)) {
    						t.Errorf("Case: %d %#v, expected: %d, got: %d", i+1, testCase, testCase.bufSize, n)
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			}
    
    			if tc.obj.IsLatest {
    				if expectedDue, _ := lc.Rules[tc.transRuleID].Transition.NextDue(tc.obj); !strings.Contains(transHdrs[0], expectedDue.Format(http.TimeFormat)) {
    					t.Fatalf("Test %d: Expected transition time %s", i+1, expectedDue)
    				}
    			} else {
    				if expectedDue, _ := lc.Rules[tc.transRuleID].NoncurrentVersionTransition.NextDue(tc.obj); !strings.Contains(transHdrs[0], expectedDue.Format(http.TimeFormat)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top