routing: run path finding tests against cache and DB

To make sure we don't hit any edge cases we refactor the path finding
tests to run both with and without the cache enabled.
This commit is contained in:
Oliver Gugger committed 2021-10-22 09:32:49 +02:00
1 parent 0a2ccfc52b
commit 01015aced4
3 files changed
+198 -128

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ func TestRouterPaymentStateMachine(t *testing.T) {
}, 2),
}
testGraph, err := createTestGraphFromChannels(testChannels, "a")
testGraph, err := createTestGraphFromChannels(true, testChannels, "a")
if err != nil {
t.Fatalf("unable to create graph: %v", err)
}