Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for testPass (0.58 sec)

  1. pkg/printers/internalversion/printers_test.go

    	}}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			rows, err := printIngressClass(testCase.ingressClass, printers.GenerateOptions{})
    			if err != nil {
    				t.Fatalf("Error generating table rows for Ingress: %#v", err)
    			}
    			for i := range rows {
    				rows[i].Object.Object = nil
    			}
    			if !reflect.DeepEqual(testCase.expected, rows) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    }
    
    func TestTransportProxy(t *testing.T) {
    	defer afterTest(t)
    	testCases := []struct{ siteMode, proxyMode testMode }{
    		{http1Mode, http1Mode},
    		{http1Mode, https1Mode},
    		{https1Mode, http1Mode},
    		{https1Mode, https1Mode},
    	}
    	for _, testCase := range testCases {
    		siteMode := testCase.siteMode
    		proxyMode := testCase.proxyMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    	}
    	memoryPressureCondition := v1.NodeCondition{
    		Type:               v1.NodeMemoryPressure,
    		Status:             v1.ConditionFalse,
    		LastHeartbeatTime:  fakeNow,
    		LastTransitionTime: fakeNow,
    	}
    	testcases := []struct {
    		name           string
    		originalStatus *v1.NodeStatus
    		status         *v1.NodeStatus
    		expectChange   bool
    	}{
    		{
    			name:           "Node status does not change with nil status.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	}
    }
    
    func TestMonitorNodeHealthUpdateNodeAndPodStatusWithLease(t *testing.T) {
    	nodeCreationTime := metav1.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC)
    	fakeNow := metav1.Date(2015, 1, 1, 12, 0, 0, 0, time.UTC)
    	testcases := []struct {
    		description             string
    		fakeNodeHandler         *testutil.FakeNodeHandler
    		lease                   *coordv1.Lease
    		timeToPass              time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    func TestValidateContainerLogStatus(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    	kubelet := testKubelet.kubelet
    	containerName := "x"
    	testCases := []struct {
    		statuses []v1.ContainerStatus
    		success  bool // whether getting logs for the container should succeed.
    		pSuccess bool // whether getting logs for the previous container should succeed.
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    		}
    	}
    }
    
    func TestSimpleDaemonSetUpdatesStatusError(t *testing.T) {
    	var (
    		syncErr   = fmt.Errorf("sync error")
    		statusErr = fmt.Errorf("status error")
    	)
    
    	testCases := []struct {
    		desc string
    
    		hasSyncErr   bool
    		hasStatusErr bool
    
    		expectedErr error
    	}{
    		{
    			desc:         "sync error",
    			hasSyncErr:   true,
    			hasStatusErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Futures}.
     *
     * @author Nishant Thakkar
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FuturesTest extends TestCase {
      private static final Logger aggregateFutureLogger =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Futures}.
     *
     * @author Nishant Thakkar
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class FuturesTest extends TestCase {
      private static final Logger aggregateFutureLogger =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = tfl.div %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i32>
      func.return %0#0 : tensor<? x i32>
    }
    
    // CHECK-LABEL: testLess
    func.func @testLess(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i1> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.less(%arg0, %arg1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top