mirror of
https://github.com/ACINQ/eclair.git
synced 2024-11-19 01:43:22 +01:00
parent
2fdc9fa4d3
commit
d76d0f6591
7
.github/workflows/latest-bitcoind.yml
vendored
7
.github/workflows/latest-bitcoind.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: Checkout bitcoind master
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: bitcoin/bitcoin
|
||||
path: bitcoin
|
||||
@ -37,14 +37,15 @@ jobs:
|
||||
working-directory: ./bitcoin
|
||||
|
||||
- name: Checkout eclair master
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: eclair
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Configure OS settings
|
||||
run: echo "fs.file-max = 1024000" | sudo tee -a /etc/sysctl.conf
|
||||
|
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -13,15 +13,16 @@ jobs:
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Cache Maven dependencies
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
@ -36,4 +37,4 @@ jobs:
|
||||
run: mvn test-compile && mvn scoverage:report -DtagsToExclude=external-api
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
uses: codecov/codecov-action@v3
|
||||
|
@ -344,7 +344,7 @@ class EclairImplSpec extends TestKitBaseClass with FixtureAnyFunSuiteLike with I
|
||||
|
||||
eclair.findRoute(c, 250_000 msat, None)
|
||||
val routeRequest1 = router.expectMsgType[RouteRequest]
|
||||
assert(routeRequest1.target == c)
|
||||
assert(routeRequest1.target.nodeId == c)
|
||||
assert(routeRequest1.ignore == Router.Ignore.empty)
|
||||
|
||||
val unknownNodeId = randomKey().publicKey
|
||||
@ -353,7 +353,7 @@ class EclairImplSpec extends TestKitBaseClass with FixtureAnyFunSuiteLike with I
|
||||
router.expectMsg(Router.GetRouterData)
|
||||
router.reply(routerData)
|
||||
val routeRequest2 = router.expectMsgType[RouteRequest]
|
||||
assert(routeRequest2.target == c)
|
||||
assert(routeRequest2.target.nodeId == c)
|
||||
assert(routeRequest2.ignore.nodes == Set(b, unknownNodeId))
|
||||
assert(routeRequest2.ignore.channels == Set(
|
||||
Router.ChannelDesc(channel1.shortChannelId, a, b),
|
||||
|
Loading…
Reference in New Issue
Block a user