mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
[fluentd-gcp addon] Remove trimming e2e tests out of blocking suites
This commit is contained in:
parent
1a29ef1360
commit
e79ce0a50d
@ -44,7 +44,6 @@ var _ = instrumentation.SIGDescribe("Cluster level logging implemented by Stackd
|
|||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should ingest logs", func() {
|
ginkgo.It("should ingest logs", func() {
|
||||||
|
|
||||||
withLogProviderForScope(f, podsScope, func(p *sdLogProvider) {
|
withLogProviderForScope(f, podsScope, func(p *sdLogProvider) {
|
||||||
ginkgo.By("Checking ingesting text logs", func() {
|
ginkgo.By("Checking ingesting text logs", func() {
|
||||||
pod, err := utils.StartAndReturnSelf(utils.NewRepeatingLoggingPod("synthlogger-1", "hey"), f)
|
pod, err := utils.StartAndReturnSelf(utils.NewRepeatingLoggingPod("synthlogger-1", "hey"), f)
|
||||||
@ -108,13 +107,17 @@ var _ = instrumentation.SIGDescribe("Cluster level logging implemented by Stackd
|
|||||||
err = utils.WaitForLogs(c, ingestionInterval, ingestionTimeout)
|
err = utils.WaitForLogs(c, ingestionInterval, ingestionTimeout)
|
||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
ginkgo.It("should ingest logs [Feature:StackdriverLogging]", func() {
|
||||||
|
withLogProviderForScope(f, podsScope, func(p *sdLogProvider) {
|
||||||
ginkgo.By("Checking that too long lines are trimmed", func() {
|
ginkgo.By("Checking that too long lines are trimmed", func() {
|
||||||
originalLength := 100001
|
originalLength := 100001
|
||||||
cmd := []string{
|
cmd := []string{
|
||||||
"/bin/sh",
|
"/bin/sh",
|
||||||
"-c",
|
"-c",
|
||||||
fmt.Sprintf("while :; do printf '%%*s' %d | tr ' ' 'A'; echo; sleep 1; done", originalLength),
|
fmt.Sprintf("while :; do printf '%%*s' %d | tr ' ' 'A'; echo; sleep 60; done", originalLength),
|
||||||
}
|
}
|
||||||
trimPrefix := "[Trimmed]"
|
trimPrefix := "[Trimmed]"
|
||||||
|
|
||||||
@ -174,7 +177,7 @@ var _ = instrumentation.SIGDescribe("Cluster level logging implemented by Stackd
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should ingest system logs from all nodes", func() {
|
ginkgo.It("should ingest system logs from all nodes [Feature:StackdriverLogging]", func() {
|
||||||
withLogProviderForScope(f, systemScope, func(p *sdLogProvider) {
|
withLogProviderForScope(f, systemScope, func(p *sdLogProvider) {
|
||||||
ginkgo.By("Waiting for some kubelet logs to be ingested from each node", func() {
|
ginkgo.By("Waiting for some kubelet logs to be ingested from each node", func() {
|
||||||
nodeIds := utils.GetNodeIds(f.ClientSet)
|
nodeIds := utils.GetNodeIds(f.ClientSet)
|
||||||
|
Loading…
Reference in New Issue
Block a user