kubernetes/test/e2e/network
Quan Tian afefc6f4eb Make EndpointSlice API e2e test faster
EndpointSlices and Endpoints usually become ready pretty fast, but the
test always waited 5s before performing every check and it performed the
check 4 times in total, so unnecessarily extends the test 20s.

The commit changes the poll function to perform a check before waiting,
and reduces the interval to 2 seconds to align with other EndpointSlice
tests. It reduces the test duration from 30s to 4s.

Signed-off-by: Quan Tian <qtian@vmware.com>
2024-01-05 18:54:56 +08:00
..
common e2e: enhance SIGDescribe 2023-10-10 18:15:49 +02:00
netpol e2e: use framework labels 2023-11-01 15:17:34 +01:00
scale test: replace intstr.FromInt with intstr.FromInt32 2023-05-10 09:34:16 +02:00
.import-restrictions e2e: revise import restrictions 2023-02-12 14:56:45 +01:00
conntrack.go use PollUntilContextTimeout to replace PollImmediateWithContext in test 2023-10-19 22:50:21 +08:00
dns_common.go use PollUntilContextTimeout to replace PollImmediateWithContext in test 2023-10-19 22:50:21 +08:00
dns_configmap.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
dns_scale_records.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
dns.go e2e: remove redundant spaces in test names 2023-09-29 08:30:57 +02:00
doc.go
dual_stack.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
endpointslice.go Make EndpointSlice API e2e test faster 2024-01-05 18:54:56 +08:00
endpointslicemirroring.go e2e tests: set all PSa labels instead of just enforcing 2023-06-21 15:05:13 +02:00
example_cluster_dns.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
firewall.go look for the cm after the lb is created 2023-11-09 20:39:42 -06:00
fixture.go test: replace intstr.FromInt with intstr.FromInt32 2023-05-10 09:34:16 +02:00
funny_ips.go Merge pull request #117631 from skitt/intstr-fromint32-testing 2023-08-15 15:16:27 -07:00
hostport.go e2e tests: set all PSa labels instead of just enforcing 2023-06-21 15:05:13 +02:00
ingress_scale.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
ingress.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
ingressclass.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
kube_proxy.go e2e_network:stop using deprecated framework.ExpectNotEqual 2023-09-13 18:46:49 +08:00
loadbalancer.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
network_policy.go Rolling back network policy tests 2021-01-27 18:58:52 -05:00
network_tiers.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
networking_perf.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
networking.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
no_snat.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
pod_lifecycle.go e2e tests: set all PSa labels instead of just enforcing 2023-06-21 15:05:13 +02:00
proxy.go e2e: remove redundant spaces in test names 2023-09-29 08:30:57 +02:00
service_cidrs.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
service_latency.go e2e: remove redundant spaces in test names 2023-09-29 08:30:57 +02:00
service.go Remove kube-proxy proxy detection & increase timeout 2023-12-22 15:32:36 -06:00
topology_hints.go e2e: use framework labels 2023-11-01 15:17:34 +01:00
util_iperf.go update to remove github.com/pkg/errors 2021-06-23 22:56:48 +08:00
util.go use PollUntilContextTimeout to replace PollImmediateWithContext in test 2023-10-19 22:50:21 +08:00