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
f7797fcc
Commit
f7797fcc
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
attempt to repair test ws2p_server_limitations
parent
d33e8cd6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/integration/ws2p_server_limitations.ts
+2
-1
2 additions, 1 deletion
test/integration/ws2p_server_limitations.ts
with
2 additions
and
1 deletion
test/integration/ws2p_server_limitations.ts
+
2
−
1
View file @
f7797fcc
...
@@ -166,7 +166,8 @@ describe("WS2P server limitations", function() {
...
@@ -166,7 +166,8 @@ describe("WS2P server limitations", function() {
it
(
'
should connect to s3 because of configuration favorism
'
,
async
()
=>
{
it
(
'
should connect to s3 because of configuration favorism
'
,
async
()
=>
{
cluster3
.
maxLevel2Peers
=
1
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
.
writeBlock
(
b3
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
await
s3
.
_server
.
PeeringService
.
generateSelfPeer
(
s3
.
_server
.
conf
)
...
...
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