Skip to content
Snippets Groups Projects
Commit f7797fcc authored by Éloïs's avatar Éloïs
Browse files

attempt to repair test ws2p_server_limitations

parent d33e8cd6
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment