Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: remove relay v1 from go
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Feb 23, 2023
1 parent e379825 commit 97d97c1
Showing 1 changed file with 0 additions and 76 deletions.
76 changes: 0 additions & 76 deletions test/circuit/v1/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ export default {
// rv1 is a standalone, reference implementation of circuit relay v1
// (https://github.com/libp2p/go-libp2p-relay-daemon)

'go-rv1-go': {
/**
* @param {Factory} factory
*/
create: async (factory) => {
const relay = await getRelayV(1)
return Promise.all([
createGo([randomWsAddr], factory),
relay,
createGo([randomWsAddr], factory)
])
}
},

'js-rv1-js': {
/**
* @param {Factory} factory
Expand All @@ -41,72 +27,10 @@ export default {
}
},

'js-rv1-go': {
/**
* @param {Factory} factory
*/
create: async (factory) => {
const relay = await getRelayV(1)
return Promise.all([
createJs([randomWsAddr], factory),
relay,
createGo([randomWsAddr], factory)
])
}
},

'go-rv1-js': {
/**
* @param {Factory} factory
*/
create: async (factory) => {
const relay = await getRelayV(1)
return Promise.all([
createGo([randomWsAddr], factory),
relay,
createJs([randomWsAddr], factory)
])
}
},

// Below are legacy tests that use js-ipfs as v1 relay
// (no tests for go-ipfs as relay v1, because since 0.11 it only supports v2)
// FIXME: remove after js-ipfs migrates to v2

'go-js-go': {
/**
* @param {Factory} factory
*/
create: async (factory) => {
return Promise.all([
createGo([randomWsAddr], factory),
createJs([randomWsAddr], factory),
createGo([randomWsAddr], factory)
])
}
},
'js-js-go': {
/**
* @param {Factory} factory
*/
create: async (factory) => {
return Promise.all([
createJs([randomWsAddr], factory),
createJs([randomWsAddr], factory),
createGo([randomWsAddr], factory)
])
}
},
'go-js-js': {
/**
* @param {Factory} factory
*/
create: (factory) => Promise.all([
createGo([randomWsAddr], factory),
createJs([randomWsAddr], factory),
createJs([randomWsAddr], factory)
])
},
'js-js-js': {
/**
* @param {Factory} factory
Expand Down

0 comments on commit 97d97c1

Please sign in to comment.