mirror of https://github.com/k3s-io/k3s
Remove the redundant space
parent
e019addcaa
commit
c9bc625428
|
@ -317,7 +317,7 @@ func TestUpdateNewNodeStatus(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
for i, cond := range updatedNode.Status.Conditions {
|
||||
assert.False(t, cond.LastHeartbeatTime.IsZero(), "LastHeartbeatTime for %v condition is zero", cond.Type)
|
||||
assert.False(t, cond.LastTransitionTime.IsZero(), "LastTransitionTime for %v condition is zero", cond.Type)
|
||||
assert.False(t, cond.LastTransitionTime.IsZero(), "LastTransitionTime for %v condition is zero", cond.Type)
|
||||
updatedNode.Status.Conditions[i].LastHeartbeatTime = metav1.Time{}
|
||||
updatedNode.Status.Conditions[i].LastTransitionTime = metav1.Time{}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ Running this command will execute the following operations on your cluster:
|
|||
|
||||
Each step is separated by an interactive prompt. You must hit the
|
||||
<kbd>Return</kbd> key to proceed to the next step. You can use these prompts as
|
||||
a break to take time to run `kubectl` and inspect the result of the operations
|
||||
a break to take time to run `kubectl` and inspect the result of the operations
|
||||
executed.
|
||||
|
||||
You should see an output like the following:
|
||||
|
|
|
@ -35,7 +35,7 @@ run_kubectl_diff_tests() {
|
|||
output_message=$(kubectl diff -f hack/testdata/pod-changed.yaml)
|
||||
kube::test::if_has_string "${output_message}" 'k8s.gcr.io/pause:3.0'
|
||||
|
||||
kubectl delete -f hack/testdata/pod.yaml
|
||||
kubectl delete -f hack/testdata/pod.yaml
|
||||
|
||||
set +o nounset
|
||||
set +o errexit
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## **Summary**
|
||||
This document provides a summary of the tests included in the Kubernetes conformance test suite.
|
||||
Each test lists a set of formal requirements that a platform that meets conformance requirements must adhere to.
|
||||
Each test lists a set of formal requirements that a platform that meets conformance requirements must adhere to.
|
||||
|
||||
The tests are a subset of the "e2e" tests that make up the Kubernetes testing infrastructure.
|
||||
Each test is identified by the presence of the `[Conformance]` keyword in the ginkgo descriptive function calls.
|
||||
|
|
|
@ -983,7 +983,7 @@ func (m *mysqlGaleraTester) deploy(ns string) *apps.StatefulSet {
|
|||
func (m *mysqlGaleraTester) write(statefulPodIndex int, kv map[string]string) {
|
||||
name := fmt.Sprintf("%v-%d", m.ss.Name, statefulPodIndex)
|
||||
for k, v := range kv {
|
||||
cmd := fmt.Sprintf("use statefulset; insert into foo (k, v) values (\"%v\", \"%v\");", k, v)
|
||||
cmd := fmt.Sprintf("use statefulset; insert into foo (k, v) values (\"%v\", \"%v\");", k, v)
|
||||
framework.Logf(m.mysqlExec(cmd, m.ss.Namespace, name))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue