- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,735 for port1 (0.05 sec)
-
subprojects/core/src/test/groovy/org/gradle/util/ports/FixedAvailablePortAllocatorTest.groovy
when: Integer port2 = portAllocator.assignPort() then: port2 >= PortAllocator.MIN_PRIVATE_PORT port2 <= PortAllocator.MAX_PRIVATE_PORT and: port2 != port1 cleanup: port1 && portAllocator.releasePort(port1) port2 && portAllocator.releasePort(port2) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 05 09:53:33 UTC 2021 - 5.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/ports/ReservedPortRangeTest.groovy
} def "ports are allocated in sequence" () { when: def port1 = range.allocate() def port2 = range.allocate() def port3 = range.allocate() then: port2 == next(port1) port3 == next(port2) and: 3 * portDetector.isAvailable(_) >> { true } } def "detects when ports are unavailable" () { def reserved = []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 06 13:37:30 UTC 2015 - 3.1K bytes - Viewed (0) -
pilot/pkg/xds/cds_test.go
kind: ServiceEntry metadata: name: se5 spec: hosts: - example.com ports: - name: port1 number: 80 targetPort: 999 protocol: HTTP resolution: DNS endpoints: - address: endpoint.example.com - address: endpoint-port-override.example.com ports: port1: 2345 `}) res := xdstest.ExtractClusterEndpoints(s.Clusters(s.SetupProxy(nil)))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 02:06:39 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/net.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionTest.groovy
1 * contentionHandler3.maybePingOwner(port1, _, _, _, _) >> { int port, long lockId, String displayName, long timeElapsed, FileLockReleasedSignal signal -> assert timeElapsed < 20 lock1.close() lock2 = createLock(Exclusive, file, manager2) Thread.sleep(50) return false }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/proxy/servicechangetracker_test.go
svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port2", "UDP", 1235, 5321, 0) }), makeTestService("ns2", "node-port", func(svc *v1.Service) { svc.Spec.Type = v1.ServiceTypeNodePort svc.Spec.ClusterIP = "172.16.55.10" svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port1", "UDP", 345, 678, 0) svc.Spec.Ports = addTestPort(svc.Spec.Ports, "port2", "TCP", 344, 677, 0) }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.7K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
host := "127.0.0.1" port1, err := getServerPort(server1.httpServer) if err != nil { t.Fatalf("error to get the server 1 port: %v", err) } port2, err := getServerPort(server2.httpServer) if err != nil { t.Fatalf("error to get the server 2 port: %v", err) } // Server 1 should be reachable, since it is not closed. if !isTCPReachable(host, port1) { t.Fatal("server 1 is unreachable") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: ns}, Spec: v1.ServiceSpec{ Selector: map[string]string{"foo": "bar"}, Ports: []v1.ServicePort{ {Name: "port0", Port: 80, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)}, {Name: "port1", Port: 88, Protocol: "TCP", TargetPort: intstr.FromInt32(8088)}, }, }, }) err := endpoints.syncService(tCtx, "other/foo") if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
fp.syncProxyRules() // check ipSet rules makeTCPEntry := func(port int) *utilipset.Entry { return &utilipset.Entry{ Port: port, Protocol: strings.ToLower(string(v1.ProtocolTCP)), SetType: utilipset.BitmapPort, } } epIPSet := netlinktest.ExpectedIPSet{ // healthcheck node port set should only contain valid HC node ports kubeHealthCheckNodePortSet: {makeTCPEntry(30000), makeTCPEntry(30001)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0)