Skip to content

Commit

Permalink
ci debug
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeShimizu committed Jun 30, 2024
1 parent e2cd3fa commit 0f77d61
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OUTDIR=./out
TEST_BIN_DIR=${OUTDIR}/test-builds
PAYMENT_RETRY_TIME=10
PEERSWAP_TEST_FILTER="peerswap"
PEERSWAP_TEST_FILTER=""
GIT_COMMIT=$(shell git rev-list -1 HEAD)

BUILD_OPTS= \
Expand Down
10 changes: 5 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
inputs = {
# Pinning to revision 755b915a158c9d588f08e9b08da9f7f3422070cc
# - cln v24.05
# - lnd v0.18.0-beta
# - bitcoin v27.1
# Pinning to revision f54322490f509985fa8be4ac9304f368bd8ab924
# - cln v24.02.1
# - lnd v0.17.4-beta
# - bitcoin v26.0
# - elements v23.2.1
nixpkgs.url = "github:NixOS/nixpkgs/755b915a158c9d588f08e9b08da9f7f3422070cc";
nixpkgs.url = "github:NixOS/nixpkgs/f54322490f509985fa8be4ac9304f368bd8ab924";
flake-utils.url = "github:numtide/flake-utils";
# blockstream-electrs: init at 0.4.1 #299761
# https://github.com/NixOS/nixpkgs/pull/299761/commits/680d27ad847801af781e0a99e4b87ed73965c69a
Expand Down
2 changes: 1 addition & 1 deletion test/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/stretchr/testify/require"
)

const defaultLines = 30
const defaultLines = 1000

func IsIntegrationTest(t *testing.T) {
if os.Getenv("RUN_INTEGRATION_TESTS") != "1" {
Expand Down
1 change: 1 addition & 0 deletions testframework/clightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func NewCLightningNode(testDir string, bitcoin *BitcoinNode, id int) (*CLightnin
fmt.Sprintf("--bitcoin-datadir=%s", bitcoin.DataDir),
fmt.Sprintf("--developer"),
fmt.Sprintf("--allow-deprecated-apis=true"),
fmt.Sprintln("--disable-plugin=offers"),
}

// socketPath := filepath.Join(networkDir, "lightning-rpc")
Expand Down
4 changes: 2 additions & 2 deletions testframework/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ var TIMEOUT = setTimeout()

func setTimeout() time.Duration {
if os.Getenv("SLOW_MACHINE") == "1" {
return 420 * time.Second
return 100 * time.Second
}
return 150 * time.Second
return 100 * time.Second
}

func WriteConfig(filename string, config map[string]string, regtestConfig map[string]string, sectionName string) {
Expand Down

0 comments on commit 0f77d61

Please sign in to comment.