This commit is contained in:
Veres Lajos
2015-08-08 22:29:57 +01:00
parent 2bfa9a1f98
commit 9f77e49109
116 changed files with 160 additions and 160 deletions

View File

@@ -59,7 +59,7 @@ func init() {
// Randomize specs as well as suites
config.GinkgoConfig.RandomizeAllSpecs = true
flag.StringVar(&testContext.KubeConfig, clientcmd.RecommendedConfigPathFlag, "", "Path to kubeconfig containing embeded authinfo.")
flag.StringVar(&testContext.KubeConfig, clientcmd.RecommendedConfigPathFlag, "", "Path to kubeconfig containing embedded authinfo.")
flag.StringVar(&testContext.KubeContext, clientcmd.FlagContext, "", "kubeconfig context to use/override. If unset, will use value from 'current-context'")
flag.StringVar(&testContext.CertDir, "cert-dir", "", "Path to the directory containing the certs. Default is empty, which doesn't use certs.")
flag.StringVar(&testContext.Host, "host", "", "The host, or apiserver, to connect to")

View File

@@ -269,7 +269,7 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) {
}
// Ask Elasticsearch to return all the log lines that were tagged with the underscore
// verison of the name. Ask for twice as many log lines as we expect to check for
// version of the name. Ask for twice as many log lines as we expect to check for
// duplication bugs.
body, err = f.Client.Get().
Namespace(api.NamespaceSystem).

View File

@@ -29,7 +29,7 @@ import (
. "github.com/onsi/gomega"
)
//TODO : Consolodate this code with the code for emptyDir.
//TODO : Consolidate this code with the code for emptyDir.
//This will require some smart.
var _ = Describe("hostPath", func() {
var (

View File

@@ -223,7 +223,7 @@ var _ = Describe("Kubectl client", func() {
It("should check if Kubernetes master services is included in cluster-info", func() {
By("validating cluster-info")
output := runKubectl("cluster-info")
// Can't check exact strings due to terminal controll commands (colors)
// Can't check exact strings due to terminal control commands (colors)
requiredItems := []string{"Kubernetes master", "is running at"}
if providerIs("gce", "gke") {
requiredItems = append(requiredItems, "KubeDNS", "Heapster")

View File

@@ -43,7 +43,7 @@ import (
)
// KubeletMetric stores metrics scraped from the kubelet server's /metric endpoint.
// TODO: Get some more structure aroud the metrics and this type
// TODO: Get some more structure around the metrics and this type
type KubeletMetric struct {
// eg: list, info, create
Operation string

View File

@@ -217,7 +217,7 @@ var _ = Describe("Networking", func() {
Logf("Attempt %v: service/pod still starting. (error: '%v')", i, err)
continue
}
// Finally, we pass/fail the test based on if the container's response body, as to wether or not it was able to find peers.
// Finally, we pass/fail the test based on if the container's response body, as to whether or not it was able to find peers.
switch {
case string(body) == "pass":
Logf("Passed on attempt %v. Cleaning up.", i)

View File

@@ -556,7 +556,7 @@ func waitForPodSuccessInNamespace(c *client.Client, podName string, contName str
})
}
// waitForRCPodOnNode returns the pod from the given replication controller (decribed by rcName) which is scheduled on the given node.
// waitForRCPodOnNode returns the pod from the given replication controller (described by rcName) which is scheduled on the given node.
// In case of failure or too long waiting time, an error is returned.
func waitForRCPodOnNode(c *client.Client, ns, rcName, node string) (*api.Pod, error) {
label := labels.SelectorFromSet(labels.Set(map[string]string{"name": rcName}))
@@ -579,7 +579,7 @@ func waitForRCPodOnNode(c *client.Client, ns, rcName, node string) (*api.Pod, er
return p, err
}
// waitForRCPodToDisappear returns nil if the pod from the given replication controller (decribed by rcName) no longer exists.
// waitForRCPodToDisappear returns nil if the pod from the given replication controller (described by rcName) no longer exists.
// In case of failure or too long waiting time, an error is returned.
func waitForRCPodToDisappear(c *client.Client, ns, rcName, podName string) error {
label := labels.SelectorFromSet(labels.Set(map[string]string{"name": rcName}))
@@ -1007,7 +1007,7 @@ func testContainerOutputInNamespace(scenarioName string, c *client.Client, pod *
continue
}
By(fmt.Sprintf("Succesfully fetched pod logs:%v\n", string(logs)))
By(fmt.Sprintf("Successfully fetched pod logs:%v\n", string(logs)))
break
}