...

Package logging

import "k8s.io/kubernetes/test/e2e/instrumentation/logging"
Overview
Index

Overview ▾

func RunLogPodsWithSleepOf

func RunLogPodsWithSleepOf(ctx context.Context, f *framework.Framework, sleep time.Duration, podname string, timeout time.Duration)

RunLogPodsWithSleepOf creates a pod on every node, logs continuously (with "sleep" pauses), and verifies that the log string was produced in each and every pod at least once. The final arg is the timeout for the test to verify all the pods got logs.