MCPcopy Index your code
hub / github.com/aws/aws-node-termination-handler / TestRemoveNTHLablesFailure

Function TestRemoveNTHLablesFailure

pkg/node/node_test.go:243–247  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

241}
242
243func TestRemoveNTHLablesFailure(t *testing.T) {
244 tNode := getNode(t, getDrainHelper(fake.NewSimpleClientset()))
245 err := tNode.RemoveNTHLabels(nodeName)
246 h.Assert(t, err != nil, "Failed to return error on failing RemoveNTHLabels")
247}
248
249func TestGetEventIDSuccess(t *testing.T) {
250 var labelValue = "bla"

Callers

nothing calls this directly

Calls 3

RemoveNTHLabelsMethod · 0.80
getNodeFunction · 0.70
getDrainHelperFunction · 0.70

Tested by

no test coverage detected