Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for testpvc (0.22 sec)

  1. pkg/kubelet/metrics/collectors/volume_stats_test.go

    			kubelet_volume_stats_inodes{namespace="testns",persistentvolumeclaim="testpvc"} 655360
    			kubelet_volume_stats_inodes_free{namespace="testns",persistentvolumeclaim="testpvc"} 655344
    			kubelet_volume_stats_inodes_used{namespace="testns",persistentvolumeclaim="testpvc"} 16
    			kubelet_volume_stats_used_bytes{namespace="testns",persistentvolumeclaim="testpvc"} 4.21789696e+09
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.5K bytes
    - Viewed (1)
  2. src/net/external_test.go

    import (
    	"fmt"
    	"internal/testenv"
    	"io"
    	"strings"
    	"testing"
    )
    
    func TestResolveGoogle(t *testing.T) {
    	testenv.MustHaveExternalNetwork(t)
    
    	if !supportsIPv4() || !supportsIPv6() || !*testIPv4 || !*testIPv6 {
    		t.Skip("both IPv4 and IPv6 are required")
    	}
    
    	for _, network := range []string{"tcp", "tcp4", "tcp6"} {
    		addr, err := ResolveTCPAddr(network, "www.google.com:http")
    		if err != nil {
    			t.Error(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. pkg/scheduler/metrics/metric_recorder_test.go

    	atomic.AddInt64(&r.counter, 1)
    }
    
    func (r *fakePodsRecorder) Dec() {
    	atomic.AddInt64(&r.counter, -1)
    }
    
    func (r *fakePodsRecorder) Clear() {
    	atomic.StoreInt64(&r.counter, 0)
    }
    
    func TestInc(t *testing.T) {
    	fakeRecorder := fakePodsRecorder{}
    	var wg sync.WaitGroup
    	loops := 100
    	wg.Add(loops)
    	for i := 0; i < loops; i++ {
    		go func() {
    			fakeRecorder.Inc()
    			wg.Done()
    		}()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 00:51:07 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

    import okio.Buffer
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    
    @Timeout(30)
    class RecordedRequestTest {
      private val headers: Headers = EMPTY_HEADERS
    
      @Test fun testIPv4() {
        val socket =
          FakeSocket(
            localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)),
            localPort = 80,
          )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestSpec.java

     *
     * @since 7.6
     */
    @Incubating
    public interface TestSpec {
    
        /**
         * Adds all tests declared in the target package to the test execution.
         * <p>
         * The effect is recursive, meaning that the tests defined in sub-packages will also be executed.
         *
         * @param pkg The target package.
         * @return this
         */
        TestSpec includePackage(String pkg);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-oidc.sh

    ./mc admin user svcacct add minio2 $STS_ACCESS_KEY --access-key testsvc --secret-key testsvc123
    if [ $? -ne 0 ]; then
    	echo "adding svc account failed, exiting.."
    	exit_1
    fi
    
    sleep 10
    
    ./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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/policy_none_test.go

    	st := &mockState{
    		assignments:   state.ContainerCPUAssignments{},
    		defaultCPUSet: cpuset.New(1, 2, 3, 4, 5, 6, 7),
    	}
    
    	testPod := makePod("fakePod", "fakeContainer", "1000m", "1000m")
    
    	container := &testPod.Spec.Containers[0]
    	err := policy.Allocate(st, testPod, container)
    	if err != nil {
    		t.Errorf("NonePolicy Allocate() error. expected no error but got: %v", err)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/nodes_test.go

    	testPos(t, exprs, "package p; var _ = T{ ", " }",
    		func(f *File) Node { return f.DeclList[0].(*VarDecl).Values.(*CompositeLit).ElemList[0] },
    	)
    
    	// embed types in a function  signature so we can test ... types
    	testPos(t, types, "package p; func f(", ")",
    		func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0].Type },
    	)
    
    	testPos(t, fields, "package p; func f(", ")",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. cni/pkg/plugin/cnieventclient_test.go

    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    	assert.Error(t, err)
    	assert.Equal(t, strings.Contains(err.Error(), fmt.Sprintf("unable to push CNI event, error was %d", http.StatusInternalServerError)), true)
    }
    
    func TestPushCNIAddEventGoodPayload(t *testing.T) {
    	testPod := "testpod"
    	testNS := "testns"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/net/main_test.go

    	// connectivity.
    	testIPv4 = flag.Bool("ipv4", true, "assume external IPv4 connectivity exists")
    
    	// If external IPv6 connectivity exists, we can try dialing
    	// non-node/interface local scope IPv6 addresses.
    	// On Windows, Lookup APIs may not return IPv6-related
    	// resource records when a node has no external IPv6
    	// connectivity.
    	testIPv6 = flag.Bool("ipv6", false, "assume external IPv6 connectivity exists")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top