mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-17 00:51:20 +00:00
[tm-monitor] rename netmon to tools
This commit is contained in:
parent
6a30f422ce
commit
f7f64a58d6
@ -1,12 +1,12 @@
|
|||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
|
|
||||||
RUN mkdir -p /go/src/github.com/tendermint/netmon/tm-monitor
|
RUN mkdir -p /go/src/github.com/tendermint/tools/tm-monitor
|
||||||
WORKDIR /go/src/github.com/tendermint/netmon/tm-monitor
|
WORKDIR /go/src/github.com/tendermint/tools/tm-monitor
|
||||||
|
|
||||||
COPY Makefile /go/src/github.com/tendermint/netmon/tm-monitor/
|
COPY Makefile /go/src/github.com/tendermint/tools/tm-monitor/
|
||||||
COPY glide.yaml /go/src/github.com/tendermint/netmon/tm-monitor/
|
COPY glide.yaml /go/src/github.com/tendermint/tools/tm-monitor/
|
||||||
COPY glide.lock /go/src/github.com/tendermint/netmon/tm-monitor/
|
COPY glide.lock /go/src/github.com/tendermint/tools/tm-monitor/
|
||||||
|
|
||||||
RUN make get_deps
|
RUN make get_deps
|
||||||
|
|
||||||
COPY . /go/src/github.com/tendermint/netmon/tm-monitor
|
COPY . /go/src/github.com/tendermint/tools/tm-monitor
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package: github.com/tendermint/netmon/tm-monitor
|
package: github.com/tendermint/tools/tm-monitor
|
||||||
import:
|
import:
|
||||||
- package: github.com/tendermint/go-common
|
- package: github.com/tendermint/go-common
|
||||||
- package: github.com/tendermint/go-event-meter
|
- package: github.com/tendermint/go-event-meter
|
||||||
|
@ -8,10 +8,10 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
crypto "github.com/tendermint/go-crypto"
|
crypto "github.com/tendermint/go-crypto"
|
||||||
monitor "github.com/tendermint/netmon/tm-monitor"
|
|
||||||
mock "github.com/tendermint/netmon/tm-monitor/mock"
|
|
||||||
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
||||||
tmtypes "github.com/tendermint/tendermint/types"
|
tmtypes "github.com/tendermint/tendermint/types"
|
||||||
|
monitor "github.com/tendermint/tools/tm-monitor"
|
||||||
|
mock "github.com/tendermint/tools/tm-monitor/mock"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMonitorUpdatesNumberOfValidators(t *testing.T) {
|
func TestMonitorUpdatesNumberOfValidators(t *testing.T) {
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
monitor "github.com/tendermint/netmon/tm-monitor"
|
|
||||||
tmtypes "github.com/tendermint/tendermint/types"
|
tmtypes "github.com/tendermint/tendermint/types"
|
||||||
|
monitor "github.com/tendermint/tools/tm-monitor"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNetworkNewBlock(t *testing.T) {
|
func TestNetworkNewBlock(t *testing.T) {
|
||||||
|
@ -8,10 +8,10 @@ import (
|
|||||||
|
|
||||||
crypto "github.com/tendermint/go-crypto"
|
crypto "github.com/tendermint/go-crypto"
|
||||||
em "github.com/tendermint/go-event-meter"
|
em "github.com/tendermint/go-event-meter"
|
||||||
monitor "github.com/tendermint/netmon/tm-monitor"
|
|
||||||
mock "github.com/tendermint/netmon/tm-monitor/mock"
|
|
||||||
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
||||||
tmtypes "github.com/tendermint/tendermint/types"
|
tmtypes "github.com/tendermint/tendermint/types"
|
||||||
|
monitor "github.com/tendermint/tools/tm-monitor"
|
||||||
|
mock "github.com/tendermint/tools/tm-monitor/mock"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user