xmtpd
xmtpd copied to clipboard
Upgrade tests with database payloads
The existing upgrade tests just test that the DB gets upgraded while empty.
No XMTP traffic exists in the test.
The next stage would be to add some traffic before the upgrade.
A convenient way of doing this can be found in pkg/migrator/testdata/db.go, where a postgresql test container is created ad hoc with an sql schema, and data is injected afterwards.
Related #1107