From 057c5582c1aedbd08dc38263f740ed9495dadd7f Mon Sep 17 00:00:00 2001 From: Jesse de Wit Date: Fri, 2 Jun 2023 13:32:45 +0200 Subject: [PATCH] fix integration tests --- itest/lspd_node.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/itest/lspd_node.go b/itest/lspd_node.go index 1e4c825..1f49398 100644 --- a/itest/lspd_node.go +++ b/itest/lspd_node.go @@ -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)