MCPcopy
hub / github.com/redis/go-redis / debugE2E

Function debugE2E

maintnotifications/e2e/config_parser_test.go:24–26  ·  view source on GitHub ↗

debugE2E returns true if E2E_DEBUG environment variable is set to "true" Use this to control verbose debug logging in e2e tests

()

Source from the content-addressed store, hash-verified

22// debugE2E returns true if E2E_DEBUG environment variable is set to "true"
23// Use this to control verbose debug logging in e2e tests
24func debugE2E() bool {
25 return os.Getenv("E2E_DEBUG") == "true"
26}
27
28// isPortUnavailableErrorString checks if the error string indicates a port unavailable error
29func isPortUnavailableErrorString(errStr string) bool {

Calls

no outgoing calls

Tested by

no test coverage detected