Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for testpvc (0.34 sec)

  1. src/net/lookup_test.go

    	"8.8.4.4",
    	"2001:4860:4860::8888",
    	"2001:4860:4860::8844",
    }
    
    func TestLookupGooglePublicDNSAddr(t *testing.T) {
    	mustHaveExternalNetwork(t)
    
    	if !supportsIPv4() || !supportsIPv6() || !*testIPv4 || !*testIPv6 {
    		t.Skip("both IPv4 and IPv6 are required")
    	}
    
    	defer dnsWaitGroup.Wait()
    
    	for _, ip := range lookupGooglePublicDNSAddrTests {
    		names, err := LookupAddr(ip)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. docs/site-replication/run-multi-site-ldap.sh

    ./mc idp ldap policy entities minio3
    
    ./mc admin user svcacct info minio1 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, exiting.."
    	exit_1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 10.1K bytes
    - Viewed (2)
  3. src/archive/tar/writer_test.go

    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    			testWrite{"", 0, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testReadFrom{fileOps{""}, 0, nil},
    			testReadFrom{fileOps{"a"}, 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{1, "a"},
    		tests: []testFnc{
    			testRemaining{1, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{"", 0},
    		tests: []testFnc{
    			testRemaining{0, 0},
    			testRead{0, "", io.EOF},
    			testRead{1, "", io.EOF},
    			testWriteTo{nil, 0, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{"", 1},
    		tests: []testFnc{
    			testRemaining{1, 1},
    			testRead{5, "", io.ErrUnexpectedEOF},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  5. pkg/log/config_test.go

    	}
    
    	for _, v := range cases {
    		t.Run(v.name, func(t *testing.T) {
    			formatDate(v.input, testEnc)
    			if !strings.HasPrefix(testEnc.output, v.want) {
    				t.Errorf("formatDate(%v) => %s, want year: %s", v.input, testEnc.output, v.want)
    			}
    		})
    	}
    }
    
    func TestTimestampProperMicros(t *testing.T) {
    	testEnc := &testDateEncoder{}
    	cases := []struct {
    		name  string
    		input time.Time
    		want  string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin user svcacct rm minio1 testsvc
    if [ $? -ne 0 ]; then
    	echo "removing svc account failed, exiting.."
    	exit_1
    fi
    
    sleep 10
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    	t.Run("PreStop-NoTimeToRun", func(t *testing.T) {
    		ctx := context.Background()
    		gracePeriodLocal := int64(0)
    
    		testPod.DeletionGracePeriodSeconds = &gracePeriodLocal
    		testPod.Spec.TerminationGracePeriodSeconds = &gracePeriodLocal
    
    		_ = m.killContainer(ctx, testPod, cID, "foo", "testKill", "", &gracePeriodLocal, nil)
    		if fakeHTTP.req != nil {
    			t.Errorf("HTTP Prestop hook Should not execute when gracePeriod is 0")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/scheduler/scheduler_test.go

    			defer cancel()
    
    			client := fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testPod}})
    			informerFactory := informers.NewSharedInformerFactory(client, 0)
    			podInformer := informerFactory.Core().V1().Pods()
    			// Need to add/update/delete testPod to the store.
    			podInformer.Informer().GetStore().Add(testPod)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    		expected string
    	}{
    		// Test non-table default printing for a pod.
    		{
    			object:   testPod,
    			options:  PrintOptions{},
    			expected: "NAME            AGE\ntest-pod-name   <unknown>\n",
    		},
    		// Test non-table default printing for a pod with "NoHeaders" option.
    		{
    			object:   testPod,
    			options:  PrintOptions{NoHeaders: true},
    			expected: "test-pod-name   <unknown>\n",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_test.go

    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.desc, func(t *testing.T) {
    			testPod.Spec.HostNetwork = tc.hostnetwork
    			testPod.Spec.DNSConfig = tc.dnsConfig
    			testPod.Spec.DNSPolicy = tc.dnsPolicy
    
    			resDNSConfig, err := configurer.GetPodDNS(testPod)
    			if err != nil {
    				t.Errorf("%s: GetPodDNS(%v), unexpected error: %v", tc.desc, testPod, err)
    			}
    			if !dnsConfigsAreEqual(resDNSConfig, tc.expectedDNSConfig) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top