itest: add the -nativesql flag to run SQL itests with native SQL tables

This commit is contained in:
Andras Banki-Horvath committed 2024-03-01 10:08:10 +01:00
1 parent 7a45bbbeab
commit ba8e7550d5
6 files changed
+29 -7

No files matched your search

+2 -2
View File
@@ -103,14 +103,14 @@ type HarnessTest struct {
// NewHarnessTest creates a new instance of a harnessTest from a regular
// testing.T instance.
func NewHarnessTest(t *testing.T, lndBinary string, feeService WebFeeService,
dbBackend node.DatabaseBackend) *HarnessTest {
dbBackend node.DatabaseBackend, nativeSQL bool) *HarnessTest {
t.Helper()
// Create the run context.
ctxt, cancel := context.WithCancel(context.Background())
manager := newNodeManager(lndBinary, dbBackend)
manager := newNodeManager(lndBinary, dbBackend, nativeSQL)
return &HarnessTest{
T: t,