MCPcopy Create free account
hub / github.com/CPChain/chain / TestHeaderConcurrentAbortion2

Function TestHeaderConcurrentAbortion2

core/block_validator_test.go:173–173  ·  view source on GitHub ↗

Tests that aborting a header validation indeed prevents further checks from being run, as well as checks that no left-over goroutines are leaked.

(t *testing.T)

Source from the content-addressed store, hash-verified

171// Tests that aborting a header validation indeed prevents further checks from being
172// run, as well as checks that no left-over goroutines are leaked.
173func TestHeaderConcurrentAbortion2(t *testing.T) { testHeaderConcurrentAbortion(t, 2) }
174func TestHeaderConcurrentAbortion8(t *testing.T) { testHeaderConcurrentAbortion(t, 8) }
175func TestHeaderConcurrentAbortion32(t *testing.T) { testHeaderConcurrentAbortion(t, 32) }
176

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected