MCPcopy Create free account
hub / github.com/DNAProject/DNA / TestCancelEventTimer

Function TestCancelEventTimer

consensus/vbft/event_timer_test.go:47–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

45}
46
47func TestCancelEventTimer(t *testing.T) {
48 eventtimer := constructEventTimer()
49 err := eventtimer.startEventTimer(EventProposeBlockTimeout, 1)
50 t.Logf("startEventTimer: %v", err)
51 eventtimer.cancelEventTimer(EventProposeBlockTimeout, 1)
52}

Callers

nothing calls this directly

Calls 3

constructEventTimerFunction · 0.85
startEventTimerMethod · 0.80
cancelEventTimerMethod · 0.80

Tested by

no test coverage detected