wip: broken libp2p backend

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-05-08 13:39:08 +02:00
parent f486223781
commit 0de0a6ffdf

View File

@@ -3,13 +3,17 @@ package p2p_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"riasc.eu/wice/internal/test"
_ "riasc.eu/wice/pkg/signaling/inprocess"
)
func TestMain(m *testing.M) {
test.Main(m)
func TestSuite(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "LibP2P Backend Suite")
}
func TestBackendP2P(t *testing.T) {
test.TestBackend(t, "p2p:?private=true&mdns=true", 2)
}
var _ = Specify("libp2p backend", func() {
test.RunBackendTest("p2p:?private=true&mdns=true", 2)
})