transparency-dev / trillian-tessera

Go library for building tile-based transparency logs (tlogs)
Apache License 2.0
10 stars 10 forks source link

Propagate fatal errors in integration tests #206

Closed mhutchinson closed 1 month ago

mhutchinson commented 1 month ago

Previously this was limping on because calling t.Fatal in a goroutine doesn't kill the whole test. This change propagates the error so that it poisons the error group, causing the test to exit properly. This means that nil checkpoints can't live on inside the slice of collected checkpoints.