Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NoError (0.19 sec)

  1. cni/pkg/repair/repair_test.go

    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    			kube.WaitForCacheSync("test", stop, c.queue.HasSynced)
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    		netip.MustParseAddr("99.9.9.9"),
    		uint8(unix.IPPROTO_TCP),
    		string(podMeta.UID),
    		true,
    	).Return(nil)
    
    	err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "fakenetns")
    	assert.NoError(t, err)
    	assert.Equal(t, 1, ztunnelServer.addedPods.Load())
    }
    
    func TestServerRemovePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		constants.DataplaneMode, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    func TestExistingPodAddedWhenDualStack(t *testing.T) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    		Revision: "default",
    	}
    
    	_, err := Generate(context.TODO(), fakeClient, opts, "istio-system")
    	assert.NoError(t, err)
    
    	wh, err := fakeClient.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().
    		Get(context.Background(), "istio-sidecar-injector", metav1.GetOptions{})
    	assert.NoError(t, err)
    
    	assertFunc(t, wh.Webhooks, defaultWh.Webhooks)
    }
    
    func TestGenerateOptions(t *testing.T) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	sameTarget, apiErr := validateReplicationDestination(ctx, bucket, replicationConfig, true)
    	if apiErr != noError {
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// Validate the received bucket replication config
    	if err = replicationConfig.Validate(bucket, sameTarget); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate_test.go

    	assert.NoError(t, err)
    
    	// Install a default revision should not cause any error
    	minimal := "minimal"
    	_, err = fakeControllerReconcile(minimal, tmpCharts, &helmreconciler.Options{Force: false, SkipPrune: true})
    	assert.NoError(t, err)
    }
    
    func TestManifestGenerateIstiodRemote(t *testing.T) {
    	g := NewWithT(t)
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    		ClientToken:   clientToken,
    		ClientAddress: h.clientAddress,
    		StartTime:     h.startTime,
    	})
    	if err != nil {
    		bugLogIf(h.ctx, err)
    		return nil, toAdminAPIErr(h.ctx, err), ""
    	}
    	return b, noError, ""
    }
    
    // PopHealStatusJSON - Called by heal-status API. It fetches the heal
    // status results from global state and returns its JSON
    // representation. The clientToken helps ensure there aren't
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. istioctl/pkg/describe/describe_test.go

    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace:      c.namespace,
    		IstioNamespace: c.istioNamespace,
    		Results:        c.configDumps,
    	})
    	client, err := ctx.CLIClient()
    	assert.NoError(t, err)
    	// Override the Istio config factory
    	for i := range c.istioConfigs {
    		switch t := c.istioConfigs[i].(type) {
    		case *v1alpha3.DestinationRule:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/list.md

    | `minio_node_drive_errors_timeout`      | Total number of drive timeout errors since server start             |
    | `minio_node_drive_errors_ioerror`      | Total number of drive I/O errors since server start                 |
    | `minio_node_drive_errors_availability` | Total number of drive I/O errors, timeouts since server start       |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
Back to top