Browse Source

[tm-monitor] rename netmon to tools

pull/1943/head
Anton Kaliaev 8 years ago
parent
commit
f7f64a58d6
No known key found for this signature in database GPG Key ID: 7B6881D965918214
5 changed files with 12 additions and 12 deletions
  1. +6
    -6
      tm-monitor/Dockerfile.dev
  2. +1
    -1
      tm-monitor/glide.yaml
  3. +2
    -2
      tm-monitor/monitor_test.go
  4. +1
    -1
      tm-monitor/network_test.go
  5. +2
    -2
      tm-monitor/node_test.go

+ 6
- 6
tm-monitor/Dockerfile.dev View File

@ -1,12 +1,12 @@
FROM golang:latest
RUN mkdir -p /go/src/github.com/tendermint/netmon/tm-monitor
WORKDIR /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/tools/tm-monitor
COPY Makefile /go/src/github.com/tendermint/netmon/tm-monitor/
COPY glide.yaml /go/src/github.com/tendermint/netmon/tm-monitor/
COPY glide.lock /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/tools/tm-monitor/
COPY glide.lock /go/src/github.com/tendermint/tools/tm-monitor/
RUN make get_deps
COPY . /go/src/github.com/tendermint/netmon/tm-monitor
COPY . /go/src/github.com/tendermint/tools/tm-monitor

+ 1
- 1
tm-monitor/glide.yaml View File

@ -1,4 +1,4 @@
package: github.com/tendermint/netmon/tm-monitor
package: github.com/tendermint/tools/tm-monitor
import:
- package: github.com/tendermint/go-common
- package: github.com/tendermint/go-event-meter


+ 2
- 2
tm-monitor/monitor_test.go View File

@ -8,10 +8,10 @@ import (
"github.com/stretchr/testify/require"
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"
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) {


+ 1
- 1
tm-monitor/network_test.go View File

@ -5,8 +5,8 @@ import (
"time"
"github.com/stretchr/testify/assert"
monitor "github.com/tendermint/netmon/tm-monitor"
tmtypes "github.com/tendermint/tendermint/types"
monitor "github.com/tendermint/tools/tm-monitor"
)
func TestNetworkNewBlock(t *testing.T) {


+ 2
- 2
tm-monitor/node_test.go View File

@ -8,10 +8,10 @@ import (
crypto "github.com/tendermint/go-crypto"
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"
tmtypes "github.com/tendermint/tendermint/types"
monitor "github.com/tendermint/tools/tm-monitor"
mock "github.com/tendermint/tools/tm-monitor/mock"
)
const (


Loading…
Cancel
Save