Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for testVol (0.16 sec)

  1. pkg/volume/csi/csi_plugin_test.go

    			driverName: "testdr",
    			volName:    "testvol",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "testdr", "testvol"), false),
    		},
    		{
    			name:       "mixchar driver",
    			driverName: "test.dr.cc",
    			volName:    "testvol",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "test.dr.cc", "testvol"), false),
    		},
    		{
    			name:       "mixchar volume",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. cmd/bitrot_test.go

    package cmd
    
    import (
    	"context"
    	"io"
    	"testing"
    )
    
    func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) {
    	tmpDir := t.TempDir()
    
    	volume := "testvol"
    	filePath := "testfile"
    
    	disk, err := newLocalXLStorage(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk.MakeVol(context.Background(), volume)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter_test.go

    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. 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,
    		&api.Pod{ObjectMeta: metav1.ObjectMeta{UID: testPodUID, Namespace: testns, Name: testPod}},
    		volume.VolumeOptions{},
    	)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  5. 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)
  6. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create file, %s", err)
    	}
    
    	testCases := []struct {
    		srcVol      string
    		destVol     string
    		srcPath     string
    		destPath    string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "file1",
    			destPath:    "file-one",
    			expectedErr: nil,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/config/analysis/analyzers/schema/validation_test.go

    				},
    				Origin: fakeOrigin{},
    			},
    		},
    	}
    	a := ValidationAnalyzer{s: testSchema}
    	a.Analyze(ctx)
    }
    
    func TestSchemaValidationWrapper(t *testing.T) {
    	testCol := gvk.VirtualService
    
    	m1 := &v1alpha3.VirtualService{}
    	m2 := &v1alpha3.VirtualService{}
    	m3 := &v1alpha3.VirtualService{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/internal/testlog/exit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testlog
    
    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

            testFile("src/main/java/Main.java") << "class Main {}"
            testFile("src/test/resources/test.resource") << "test resource"
            testFile("src/test/java/TestFoo.java") << """
            public class TestFoo {
                @org.junit.Test
                public void test() {}
            }
            """
    
            when:
            executer.withTasks("build").run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top