Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
a0b0f3ac
Commit
a0b0f3ac
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[fix] repair integration tests forwarding and network
parent
cef5096e
No related branches found
No related tags found
1 merge request
!1178
Add WS2PTOR features
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/integration/forwarding.js
+1
-1
1 addition, 1 deletion
test/integration/forwarding.js
test/integration/network.js
+1
-0
1 addition, 0 deletions
test/integration/network.js
with
2 additions
and
1 deletion
test/integration/forwarding.js
+
1
−
1
View file @
a0b0f3ac
...
...
@@ -19,7 +19,7 @@ describe("Forwarding", function() {
describe
(
"
Nodes
"
,
function
()
{
const
common
=
{
currency
:
'
bb
'
,
nobma
:
false
,
ws2p
:
{
upnp
:
false
},
ipv4
:
'
127.0.0.1
'
,
remoteipv4
:
'
127.0.0.1
'
,
rootoffset
:
0
,
sigQty
:
1
};
const
common
=
{
currency
:
'
bb
'
,
nobma
:
false
,
bmaWithCrawler
:
true
,
ws2p
:
{
upnp
:
false
},
ipv4
:
'
127.0.0.1
'
,
remoteipv4
:
'
127.0.0.1
'
,
rootoffset
:
0
,
sigQty
:
1
};
const
node1
=
node
(
'
db_1
'
,
_
({
upnp
:
false
,
httplogs
:
false
,
port
:
9600
,
remoteport
:
9600
,
pair
:
{
pub
:
'
HgTTJLAQ5sqfknMq7yLPZbehtuLSsKj9CxWN7k8QvYJd
'
,
sec
:
'
51w4fEShBk1jCMauWu4mLpmDVfHksKmWcygpxriqCEZizbtERA6de4STKRkQBpxmMUwsKXRjSzuQ8ECwmqN1u2DP
'
}
}).
extend
(
common
));
const
node2
=
node
(
'
db_2
'
,
_
({
upnp
:
false
,
httplogs
:
false
,
port
:
9601
,
remoteport
:
9601
,
pair
:
{
pub
:
'
G2CBgZBPLe6FSFUgpx2Jf1Aqsgta6iib3vmDRA1yLiqU
'
,
sec
:
'
58LDg8QLmF5pv6Dn9h7X4yFKfMTdP8fdAiWVcyDoTRJu454fwRihCLULH4MW37zncsg4ruoTGJPZneWk22QmG1w4
'
}
}).
extend
(
common
));
...
...
This diff is collapsed.
Click to expand it.
test/integration/network.js
+
1
−
0
View file @
a0b0f3ac
...
...
@@ -11,6 +11,7 @@ const expectAnswer = httpTest.expectAnswer;
const
MEMORY_MODE
=
true
;
const
commonConf
=
{
bmaWithCrawler
:
true
,
ipv4
:
'
127.0.0.1
'
,
remoteipv4
:
'
127.0.0.1
'
,
currency
:
'
bb
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment