Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for expectedly (0.22 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    			assert.Equal(t, namespace, obj.Namespace, "the HPA namespace should be as expected")
    			assert.Equal(t, hpaName, obj.Name, "the HPA name should be as expected")
    			assert.Equal(t, tc.expectedDesiredReplicas, obj.Status.DesiredReplicas, "the desired replica count reported in the object status should be as expected")
    			if tc.verifyCPUCurrent {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	expectStableQueueLength := func(expected int) {
    		t.Helper()
    		for i := 0; i < 5; i++ {
    			if actual := dsc.queue.Len(); actual != expected {
    				t.Fatalf("expected queue len to remain at %d, got %d", expected, actual)
    			}
    			time.Sleep(10 * time.Millisecond)
    		}
    	}
    	waitForQueueLength := func(expected int, msg string) {
    		t.Helper()
    		i := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			for i, op := range test.operations {
    				op(t, logger, queue, test.operands[i])
    			}
    
    			expectedLen := len(test.expected)
    			if queue.activeQ.Len() != expectedLen {
    				t.Fatalf("Expected %v items to be in activeQ, but got: %v", expectedLen, queue.activeQ.Len())
    			}
    
    			for i := 0; i < expectedLen; i++ {
    				if pInfo, err := queue.activeQ.Pop(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. src/crypto/x509/x509_test.go

    		if !extension.Id.Equal(expected[i].Id) {
    			t.Fatalf("extension #%d has unexpected type %v (expected %v)", i, extension.Id, expected[i].Id)
    		}
    
    		if !bytes.Equal(extension.Value, expected[i].Value) {
    			t.Fatalf("extension #%d has unexpected contents %x (expected %x)", i, extension.Value, expected[i].Value)
    		}
    	}
    }
    
    // serialiseAndParse generates a self-signed certificate from template and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    	}
    	// Verify that after syncing a complete job, the conditions are the same.
    	if got, expected := len(actual.Status.Conditions), 1; got != expected {
    		t.Fatalf("Unexpected job status conditions amount; expected %d, got %d", expected, got)
    	}
    }
    
    func TestSyncJobDeleted(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                                  << output_ty_size << " and " << input_ty_size;
      }
    
      if (!TF::AreCastCompatible({output_ty, expected_ty}))
        return op.emitOpError()
               << "requires 'output' type " << output_ty
               << " to be cast compatible with expected type " << expected_ty;
    
      return success();
    }
    
    LogicalResult ReshapeOp::inferReturnTypes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                                  << output_ty_size << " and " << tensor_ty_size;
      }
    
      if (!AreCastCompatible({output_ty, expected_ty}))
        return op.emitOpError()
               << "requires 'output' type " << output_ty
               << " to be cast compatible with expected type " << expected_ty;
    
      return success();
    }
    
    // Currently there are use cases that rely on partial evaluation of the `shape`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    			defer wg.Done()
    			doReq()
    		}()
    	}
    	wg.Wait()
    
    	expected := int32(tr.MaxConnsPerHost)
    	if dialCnt != expected {
    		t.Errorf("round 1: too many dials: %d != %d", dialCnt, expected)
    	}
    	if gotConnCnt != expected {
    		t.Errorf("round 1: too many get connections: %d != %d", gotConnCnt, expected)
    	}
    	if ts.TLS != nil && tlsHandshakeCnt != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top