nettest

package
v6.5.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 9 Imported by: 0

README

factomd/netTest

This folder contains tests that are meant to run against other networks.

This can be used against networks deployed w/ docker-compose or DevNet (kubernetes)

All tests assume the network is already up.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEV_NET string = "127.0.0.1:18110" // devnet port forward to fnode0 peer
View Source
var DEV_NET_CONFIG string = `
LocalSpecialPeers                     = "127.0.0.1:18110"
Exclusive                             =  true 
`
View Source
var DOCKER_NETWORK string = "10.7.0.1:8110" // docker network
View Source
var SINGLE_NODE string = "127.0.0.1:39001" // local netTest simulator

Functions

func SetupNode

func SetupNode(seedNode string, minPeers int, t *testing.T) *testNode

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL