ipld-eth-beacon-indexer/pkg/database/sql/postgres
Abdul Rabbani 6123fa40e8 Feature/22 test handling incoming events (#30)
* Checkpoint before the weekend

* Update location for SetupPostgresDB

* Include first functioning tests for processing head

* Fix gitignore

* 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`.

* Update and finalize testing at this stage

* Update code and CI/CD

* Fix lint errors

* Update CICD and fail when file not found.

* Update test to have failed as expected.
2022-05-17 16:45:40 -04:00
..
config.go Code clean up + Beacon Chain Connection 2022-04-20 18:12:44 -04:00
database.go Feature/22 test handling incoming events - Intermediary Commit (#28) 2022-05-17 16:45:40 -04:00
pgx_test.go Feature/22 test handling incoming events (#30) 2022-05-17 16:45:40 -04:00
pgx.go Add DB Connection and Logging 2022-04-20 15:44:15 -04:00
postgres_suite_test.go Utilize Ginkgo toreplace testing library, and add CI/CD. (#9) 2022-04-22 08:28:01 -04:00