ipld-eth-beacon-indexer/pkg/beaconclient
Abdul Rabbani 36e8711891 Test CaptureHead | Add Metrics | Handle Test Race Conditions
This Commit allows us to:

* Test the `CaptureHead` function.
* Test parsing a single Head message.
* Test a Reorg condition.
* Add Metrics. This is primarily used for testing but can have future use cases.
* Rearrange the test due to race conditions introduced by reusing a variable. `BeforeEach` can't be used to update `BC`.
2022-05-11 14:14:19 -04:00
..
beaconclient_suite_test.go Process SSE messages, and include a graceful shutdown 2022-04-27 10:28:42 -04:00
beaconclient.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
capturehead_test.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
capturehead.go Capture the head block in the DB entirely. (#27) 2022-05-06 11:03:15 -04:00
databasewrite.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
healthcheck_test.go Clean up + Get State and Block 2022-04-27 14:01:59 -04:00
healthcheck.go Clean up + Get State and Block 2022-04-27 14:01:59 -04:00
incomingsse.go Include first functioning tests for processing head 2022-05-10 14:31:56 -04:00
metrics.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
models.go Capture the head block in the DB entirely. (#27) 2022-05-06 11:03:15 -04:00
processevents.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
processreorgs.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
processslot.go Test CaptureHead | Add Metrics | Handle Test Race Conditions 2022-05-11 14:14:19 -04:00
queryserver.go Capture the head block in the DB entirely. (#27) 2022-05-06 11:03:15 -04:00