Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 324 for unexpectedly (0.17 seconds)

  1. internal/grid/grid_test.go

    		if _, ok := err.(*RemoteErr); !ok {
    			t.Fatalf("Unexpected error: %v, %T", err, err)
    		}
    		// Streams should not be able to set up until registered.
    		// Thus, the error is a local error.
    		_, err = remoteConn.NewStream(t.Context(), handlerTest, []byte(testPayload))
    		if !errors.Is(err, ErrUnknownHandler) {
    			t.Fatalf("Unexpected error: %v, %T", err, err)
    		}
    	})
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  2. cmd/erasure-healing_test.go

    	if hr.Before.Drives[0].State != madmin.DriveStateMissing {
    		t.Fatalf("Unexpected drive state: %v", hr.Before.Drives[0].State)
    	}
    
    	// Check the state of all other disks (should be ok)
    	for i, h := range append(hr.Before.Drives[1:], hr.After.Drives...) {
    		if h.State != madmin.DriveStateOk {
    			t.Fatalf("Unexpected drive state (%d): %v", i+1, h.State)
    		}
    	}
    
    	// Heal the same object again
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

                    + object
                    + ", "
                    + "expected = "
                    + exp
                    + ", actual = "
                    + actString);
          }
        }
        assertTrue("unexpected elements: " + act, act.isEmpty());
      }
    
      public static void assertContentsAnyOrder(Iterable<?> actual, Object... expected) {
        assertEqualIgnoringOrder(asList(expected), actual);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  4. cmd/erasure-metadata-utils.go

    // the corresponding error in errs slice is not nil
    func evalDisks(disks []StorageAPI, errs []error) []StorageAPI {
    	if len(errs) != len(disks) {
    		bugLogIf(GlobalContext, errors.New("unexpected drives/errors slice length"))
    		return nil
    	}
    	newDisks := make([]StorageAPI, len(disks))
    	for index := range errs {
    		if errs[index] == nil {
    			newDisks[index] = disks[index]
    		} else {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. cmd/storage-rest-server.go

    		case 1:
    			errorText, err := io.ReadAll(reader)
    			if err != nil {
    				return nil, err
    			}
    			return nil, errors.New(string(errorText))
    		case 32:
    			continue
    		default:
    			return nil, fmt.Errorf("unexpected filler byte: %d", b)
    		}
    	}
    }
    
    // httpStreamResponse allows streaming a response, but still send an error.
    type httpStreamResponse struct {
    	done  chan error
    	block chan []byte
    	err   error
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            .code(301)
            .addHeader("Location", url.newBuilder().host("differentdns.com").build())
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("unexpected call")
            .build(),
        )
        assertFailsWith<IOException> {
          val response = execute(url)
          response.close()
        }
      }
    
      /** Not in the certificate SAN.  */
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  7. tests/generics_test.go

    		t.Fatalf("failed to reload select-only user, got error: %v", err)
    	} else if stored.Name != selectOnly.Name || stored.Age != 0 {
    		t.Errorf("unexpected select-only user state, got %#v", stored)
    	}
    
    	omitAge := User{Name: "GenericsCreateOmitAge", Age: 88}
    	if err := gorm.G[User](DB).Omit("age").Create(ctx, &omitAge); err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  8. cmd/local-locker.go

    	}
    
    	idx := 0
    	for {
    		mapID := formatUUID(args.UID, idx)
    		resource, ok := l.lockUID[mapID]
    		if !ok {
    			return idx > 0, nil
    		}
    		lris, ok := l.lockMap[resource]
    		if !ok {
    			// Unexpected  inconsistency, delete.
    			delete(l.lockUID, mapID)
    			idx++
    			continue
    		}
    		reply = true
    		l.removeEntry(resource, dsync.LockArgs{UID: args.UID}, &lris)
    		idx++
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. cmd/handler-utils.go

    		case madmin.AdminAPIVersion:
    			desc = fmt.Sprintf("This 'admin' API is not supported by server in '%s'", getMinioMode())
    		default:
    			desc = fmt.Sprintf("Unexpected client 'admin' API version found '%s', expected '%s', please downgrade the client to older releases", version, madmin.AdminAPIVersion)
    		}
    		writeErrorResponseJSON(r.Context(), w, APIError{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  10. cmd/background-newdisks-heal-ops.go

    func healFreshDisk(ctx context.Context, z *erasureServerPools, endpoint Endpoint) error {
    	poolIdx, setIdx := endpoint.PoolIdx, endpoint.SetIdx
    	disk := getStorageViaEndpoint(endpoint)
    	if disk == nil {
    		return fmt.Errorf("Unexpected error disk must be initialized by now after formatting: %s", endpoint)
    	}
    
    	_, err := disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    		if errors.Is(err, errDriveIsRoot) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top