Merge pull request #100671 from Niekvdplas/spelling-mistakes
Fixed several spelling mistakes
This commit is contained in:
@@ -47,7 +47,7 @@ var _ = SIGDescribe("Networking", func() {
|
||||
// Second time, we pass through pods more carefully...
|
||||
framework.Logf("Going to retry %v out of %v pods....", len(failedPodsByHost), len(config.EndpointPods))
|
||||
for host, failedPods := range failedPodsByHost {
|
||||
framework.Logf("Doublechecking %v pods in host %v which werent seen the first time.", len(failedPods), host)
|
||||
framework.Logf("Doublechecking %v pods in host %v which weren't seen the first time.", len(failedPods), host)
|
||||
for _, endpointPod := range failedPods {
|
||||
framework.Logf("Now attempting to probe pod [[[ %v ]]]", endpointPod.Status.PodIP)
|
||||
if err := config.DialFromTestContainer(protocol, endpointPod.Status.PodIP, port, config.MaxTries, 0, sets.NewString(endpointPod.Name)); err != nil {
|
||||
|
||||
@@ -438,7 +438,7 @@ func (config *NetworkingTestConfig) GetHTTPCodeFromTestContainer(path, targetIP
|
||||
// (See the TODO about checking probability, which isnt implemented yet).
|
||||
// - maxTries is the maximum number of curl/echo attempts before an error is returned. The
|
||||
// smaller this number is, the less 'slack' there is for declaring success.
|
||||
// - if maxTries < expectedEps, this test is guaranteed to return an error, because all endpoints wont be hit.
|
||||
// - if maxTries < expectedEps, this test is guaranteed to return an error, because all endpoints won't be hit.
|
||||
// - maxTries == minTries will return as soon as all endpoints succeed (or fail once maxTries is reached without
|
||||
// success on all endpoints).
|
||||
// In general its prudent to have a high enough level of minTries to guarantee that all pods get a fair chance at receiving traffic.
|
||||
|
||||
@@ -636,7 +636,7 @@ var _ = common.SIGDescribe("Netpol [LinuxOnly]", func() {
|
||||
{
|
||||
Ports: []networkingv1.NetworkPolicyPort{
|
||||
{
|
||||
// dont use named ports
|
||||
// don't use named ports
|
||||
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 80},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ import (
|
||||
// Maximum number of forwarded connections. In practice we don't
|
||||
// need more than one per sidecar and kubelet. Keeping this reasonably
|
||||
// small ensures that we don't establish connections through the apiserver
|
||||
// and the remote kernel which then arent' needed.
|
||||
// and the remote kernel which then aren't needed.
|
||||
const maxConcurrentConnections = 10
|
||||
|
||||
// Listen creates a listener which returns new connections whenever someone connects
|
||||
|
||||
@@ -95,7 +95,7 @@ var _ = SIGDescribe("[Feature:Windows] DNS", func() {
|
||||
|
||||
ginkgo.By("Verifying that curl queries FAIL for wrong URLs")
|
||||
|
||||
// the below tests use curl because nslookup doesnt seem to use ndots properly
|
||||
// the below tests use curl because nslookup doesn't seem to use ndots properly
|
||||
// ideally we'd use the powershell native ResolveDns but, that is not a part of agnhost images (as of k8s 1.20)
|
||||
// TODO @jayunit100 add ResolveHost to agn images
|
||||
|
||||
|
||||
@@ -597,7 +597,7 @@ func verifyEvictionOrdering(f *framework.Framework, testSpecs []podEvictSpec) er
|
||||
framework.Logf("fetching pod %s; phase= %v", p.Name, p.Status.Phase)
|
||||
}
|
||||
|
||||
ginkgo.By("checking eviction ordering and ensuring important pods dont fail")
|
||||
ginkgo.By("checking eviction ordering and ensuring important pods don't fail")
|
||||
done := true
|
||||
for _, priorityPodSpec := range testSpecs {
|
||||
var priorityPod v1.Pod
|
||||
|
||||
@@ -102,7 +102,7 @@ func setupWithResourcesWithOptions(t *testing.T, opts *framework.MasterConfigOpt
|
||||
}
|
||||
|
||||
func verifyStatusCode(t *testing.T, verb, URL, body string, expectedStatusCode int) {
|
||||
// We dont use the typed Go client to send this request to be able to verify the response status code.
|
||||
// We don't use the typed Go client to send this request to be able to verify the response status code.
|
||||
bodyBytes := bytes.NewReader([]byte(body))
|
||||
req, err := http.NewRequest(verb, URL, bodyBytes)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user