MCPcopy Create free account
hub / github.com/aws/aws-node-termination-handler / TestGetUptimeFuncDefault

Function TestGetUptimeFuncDefault

pkg/node/node_internal_test.go:160–163  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

158}
159
160func TestGetUptimeFuncDefault(t *testing.T) {
161 uptimeFunc := getUptimeFunc("")
162 h.Assert(t, uptimeFunc != nil, "Failed to return a function.")
163}
164
165func TestGetUptimeFuncWithFile(t *testing.T) {
166 uptimeFunc := getUptimeFunc(testFile)

Callers

nothing calls this directly

Calls 1

getUptimeFuncFunction · 0.85

Tested by

no test coverage detected