Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
timothe
duniter
Commits
f7797fcc
Commit
f7797fcc
authored
Oct 11, 2017
by
Éloïs
Browse files
attempt to repair test ws2p_server_limitations
parent
d33e8cd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/integration/ws2p_server_limitations.ts
View file @
f7797fcc
...
...
@@ -166,7 +166,8 @@ describe("WS2P server limitations", function() {
it
(
'
should connect to s3 because of configuration favorism
'
,
async
()
=>
{
cluster3
.
maxLevel2Peers
=
1
if
(
s3
.
conf
.
ws2p
!==
undefined
)
s3
.
conf
.
ws2p
.
publicAccess
=
true
if
(
s1
.
_server
.
conf
.
ws2p
)
s1
.
_server
.
conf
.
ws2p
.
privateAccess
=
true
if
(
s3
.
_server
.
conf
.
ws2p
)
s3
.
_server
.
conf
.
ws2p
.
publicAccess
=
true
await
s3
.
writeBlock
(
b3
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment