mirror of
https://github.com/aljazceru/lspd.git
synced 2026-02-10 16:54:24 +01:00
fix integration tests
This commit is contained in:
@@ -191,6 +191,15 @@ func (l *lspBase) Initialize() error {
|
||||
}
|
||||
defer pgxPool.Close()
|
||||
|
||||
_, err = pgxPool.Exec(
|
||||
l.harness.Ctx,
|
||||
`DELETE FROM new_channel_params`,
|
||||
)
|
||||
if err != nil {
|
||||
lntest.PerformCleanup(cleanups)
|
||||
return fmt.Errorf("failed to delete new_channel_params: %w", err)
|
||||
}
|
||||
|
||||
_, err = pgxPool.Exec(
|
||||
l.harness.Ctx,
|
||||
`INSERT INTO new_channel_params (validity, params)
|
||||
|
||||
Reference in New Issue
Block a user