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

Function TestStartEventTimer

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

Source from the content-addressed store, hash-verified

39 eventtimer.CancelTimer(1)
40}
41func TestStartEventTimer(t *testing.T) {
42 eventtimer := constructEventTimer()
43 err := eventtimer.startEventTimer(EventProposeBlockTimeout, 1)
44 t.Logf("TestStartEventTimer: %v", err)
45}
46
47func TestCancelEventTimer(t *testing.T) {
48 eventtimer := constructEventTimer()

Callers

nothing calls this directly

Calls 2

constructEventTimerFunction · 0.85
startEventTimerMethod · 0.80

Tested by

no test coverage detected