Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for testHola (0.2 sec)

  1. pkg/volume/csi/csi_block_test.go

    	registerFakePlugin(testDriver, "endpoint", []string{"1.0.0"}, t)
    	pv := makeTestPV(specVolumeName, 10, testDriver, testVol)
    	spec := volume.NewSpecFromPersistentVolume(pv, pv.Spec.PersistentVolumeSource.CSI.ReadOnly)
    	mapper, err := plug.NewBlockVolumeMapper(
    		spec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    	}{
    		{
    			name:       "test ok 1",
    			nodeName:   "testnode-01",
    			driverName: "testdriver-01",
    			volumeName: "testvol-01",
    			attachID:   getAttachmentName("testvol-01", "testdriver-01", "testnode-01"),
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "testdriver-01", "testvol-01"), false),
    		},
    		{
    			name:       "test ok 2",
    			nodeName:   "node02",
    			driverName: "driver02",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    				}
    			}
    		}()
    		return ch
    	}
    }
    
    func (fp *fakePoller) GetwaitFunc() waitFunc {
    	fp.wg.Add(1)
    	return fakeTicker(fp.max, &fp.used, fp.wg.Done)
    }
    
    func TestPoll(t *testing.T) {
    	invocations := 0
    	f := ConditionWithContextFunc(func(ctx context.Context) (bool, error) {
    		invocations++
    		return true, nil
    	})
    	fp := fakePoller{max: 1}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. src/math/cmplx/cmath_test.go

    		// Log10(Conj(z))  == Conj(Log10(z))
    		if f := Log10(Conj(v.in)); !cAlike(Conj(v.want), f) && !cAlike(v.in, Conj(v.in)) {
    			t.Errorf("Log10(%g) = %g, want %g", Conj(v.in), f, Conj(v.want))
    		}
    	}
    }
    func TestPolar(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if r, theta := Polar(vc[i]); !veryclose(polar[i].r, r) && !veryclose(polar[i].theta, theta) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	volName := "testvol"
    	fileName := "testfile"
    	if err := storage.MakeVol(context.Background(), volName); err != nil {
    		t.Fatal(err)
    	}
    
    	// 1) Whole-file bitrot check on proper file
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	queuedPodStore := clientcache.NewFIFO(clientcache.MetaNamespaceKeyFunc)
    	pod := podWithID("foo", "")
    	pod.Namespace = "foo-ns"
    	pod.Spec.Volumes = append(pod.Spec.Volumes, v1.Volume{Name: "testVol",
    		VolumeSource: v1.VolumeSource{PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ClaimName: "testPVC"}}})
    	queuedPodStore.Add(pod)
    	scache := internalcache.New(ctx, 10*time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top