Unverified Commit 664d7972 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #69466 from mooncak/fix_test_issues

Remove the duplicated words in test files
parents bc135bd3 4894f558
......@@ -159,7 +159,7 @@ func (e *E2EServices) startKubelet() (*server, error) {
kubeletConfigFlags = append(kubeletConfigFlags, "file-check-frequency")
// Assign a fixed CIDR to the node because there is no node controller.
// Note: this MUST be in sync with with the IP in
// Note: this MUST be in sync with the IP in
// - cluster/gce/config-test.sh and
// - test/e2e_node/conformance/run_test.sh.
kc.PodCIDR = "10.100.0.0/24"
......
......@@ -241,7 +241,7 @@ func contactOthers(state *State) {
if err != nil {
log.Fatalf("Unable to create client; error: %v\n", err)
}
// Double check that that worked by getting the server version.
// Double check that worked by getting the server version.
if v, err := client.Discovery().ServerVersion(); err != nil {
log.Fatalf("Unable to get server version: %v\n", err)
} else {
......
......@@ -397,7 +397,7 @@ func getTestRequests(namespace string) []struct {
return requests
}
// The TestAuthMode* tests tests a large number of URLs and checks that they
// The TestAuthMode* tests a large number of URLs and checks that they
// are FORBIDDEN or not, depending on the mode. They do not attempt to do
// detailed verification of behaviour beyond authorization. They are not
// fuzz tests.
......
......@@ -66,7 +66,7 @@ func testLabels() map[string]string {
return map[string]string{"name": "test"}
}
// newDeployment returns a RollingUpdate Deployment with with a fake container image
// newDeployment returns a RollingUpdate Deployment with a fake container image
func newDeployment(name, ns string, replicas int32) *apps.Deployment {
return &apps.Deployment{
TypeMeta: metav1.TypeMeta{
......
......@@ -79,7 +79,7 @@ func newHeadlessService(namespace string) *v1.Service {
}
}
// newSTS returns a StatefulSet with with a fake container image
// newSTS returns a StatefulSet with a fake container image
func newSTS(name, namespace string, replicas int) *v1beta1.StatefulSet {
replicasCopy := int32(replicas)
return &v1beta1.StatefulSet{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment