Skip to content

Commit

Permalink
Give orphans stability test more time to process blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lemois-1337 committed Aug 28, 2024
1 parent 8862cc3 commit 23b175a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stability-tests/many-tips/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func startNode() (teardown func(), err error) {
"--appdir", dataDir,
"--logdir", dataDir,
"--rpclisten", rpcAddress,
"--loglevel", "debug",
"--loglevel", "info",
"--allow-submit-block-when-not-synced",
)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions stability-tests/orphans/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func main() {
os.Exit(1)
}

// Wait a second to let karlsend process orphans
<-time.After(1 * time.Second)
// Wait 5 seconds to let karlsend process orphans
<-time.After(5 * time.Second)

err = checkTopBlockIsTip(rpcClient, topBlock)
if err != nil {
Expand Down
3 changes: 3 additions & 0 deletions stability-tests/run/run-fast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ echo "Running many-tips"
cd "${PROJECT_ROOT}/many-tips/run" && ./run.sh || failedTests+=("many-tips")
echo "Done running many-tips"

echo "Removing khashv2 pre-computed dag file"
rm "${PROJECT_ROOT}/many-tips/run/hashes.dat"

echo "Running netsync - fast"
cd "${PROJECT_ROOT}/netsync/run" && ./run-fast.sh || failedTests+=("netsync")
echo "Done running netsync - fast"
Expand Down

0 comments on commit 23b175a

Please sign in to comment.