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

Function TestMarkWithEventIDFailure

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

Source from the content-addressed store, hash-verified

235}
236
237func TestMarkWithEventIDFailure(t *testing.T) {
238 tNode := getNode(t, getDrainHelper(fake.NewSimpleClientset()))
239 err := tNode.MarkWithEventID(nodeName, "EventID")
240 h.Assert(t, err != nil, "Failed to return error on MarkWithEventID failing to fetch node")
241}
242
243func TestRemoveNTHLablesFailure(t *testing.T) {
244 tNode := getNode(t, getDrainHelper(fake.NewSimpleClientset()))

Callers

nothing calls this directly

Calls 3

MarkWithEventIDMethod · 0.80
getNodeFunction · 0.70
getDrainHelperFunction · 0.70

Tested by

no test coverage detected