createTestLTXFile creates a minimal LTX file for testing.
(t testing.TB, client litestream.ReplicaClient, level int, minTXID, maxTXID ltx.TXID)
| 595 | |
| 596 | // createTestLTXFile creates a minimal LTX file for testing. |
| 597 | func createTestLTXFile(t testing.TB, client litestream.ReplicaClient, level int, minTXID, maxTXID ltx.TXID) { |
| 598 | t.Helper() |
| 599 | createTestLTXFileWithTimestamp(t, client, level, minTXID, maxTXID, time.Now()) |
| 600 | } |
| 601 | |
| 602 | // createTestLTXFileWithTimestamp creates a minimal LTX file with a specific timestamp. |
| 603 | func createTestLTXFileWithTimestamp(t testing.TB, client litestream.ReplicaClient, level int, minTXID, maxTXID ltx.TXID, ts time.Time) { |
no test coverage detected