itest+lntest: remove standby nodes
This commit removes the standby nodes Alice and Bob.
This commit is contained in:
3 files changed
+14
-198
No files matched your search
+1
-21
@@ -8,7 +8,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -110,10 +109,6 @@ func TestLightningNetworkDaemon(t *testing.T) {
|
||||
)
|
||||
defer harnessTest.Stop()
|
||||
|
||||
// Setup standby nodes, Alice and Bob, which will be alive and shared
|
||||
// among all the test cases.
|
||||
harnessTest.SetupStandbyNodes()
|
||||
|
||||
// Get the current block height.
|
||||
height := harnessTest.CurrentHeight()
|
||||
|
||||
@@ -130,22 +125,7 @@ func TestLightningNetworkDaemon(t *testing.T) {
|
||||
// avoid overwriting the external harness test that is
|
||||
// tied to the parent test.
|
||||
ht := harnessTest.Subtest(t1)
|
||||
|
||||
// TODO(yy): split log files.
|
||||
cleanTestCaseName := strings.ReplaceAll(
|
||||
testCase.Name, " ", "_",
|
||||
)
|
||||
ht.SetTestName(cleanTestCaseName)
|
||||
|
||||
logLine := fmt.Sprintf(
|
||||
"STARTING ============ %v ============\n",
|
||||
testCase.Name,
|
||||
)
|
||||
|
||||
ht.Alice.AddToLogf(logLine)
|
||||
ht.Bob.AddToLogf(logLine)
|
||||
|
||||
ht.EnsureConnected(ht.Alice, ht.Bob)
|
||||
ht.SetTestName(testCase.Name)
|
||||
|
||||
ht.RunTestCase(testCase)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user