Skip to content

Commit

Permalink
Merge pull request #4 from vitessio/master
Browse files Browse the repository at this point in the history
  • Loading branch information
keeferrourke authored Mar 31, 2020
2 parents c54d960 + 5bf7310 commit b85e930
Show file tree
Hide file tree
Showing 193 changed files with 4,589 additions and 18,064 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cluster_endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
fi
- name: sharded cluster_endtoend
timeout-minutes: 30
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -follow -shard ${{matrix.name}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/e2e_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ jobs:
make minimaltools
- name: e2e_race
timeout-minutes: 30
run: |
make e2e_test_race
1 change: 1 addition & 0 deletions .github/workflows/endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
make build
- name: endtoend
timeout-minutes: 30
run: |
tools/e2e_test_runner.sh
1 change: 1 addition & 0 deletions .github/workflows/local_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
make build
- name: local_example
timeout-minutes: 30
run: |
export TOPO=${{matrix.topo}}
if [ ${{matrix.os}} = "macos-latest" ]; then
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@ jobs:
make tools
- name: unit
timeout-minutes: 30
run: |
eatmydata -- make unit_test
1 change: 1 addition & 0 deletions .github/workflows/unit_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
make tools
- name: unit_race
timeout-minutes: 30
run: |
eatmydata -- make unit_test_race
3 changes: 1 addition & 2 deletions go/cmd/vtgate/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"vitess.io/vitess/go/vt/srvtopo"
_ "vitess.io/vitess/go/vt/status"
"vitess.io/vitess/go/vt/vtgate"
"vitess.io/vitess/go/vt/vtgate/gateway"
)

// For use by plugins which wish to avoid racing when registering status page parts.
Expand All @@ -39,7 +38,7 @@ func addStatusParts(vtg *vtgate.VTGate) {
servenv.AddStatusPart("Topology Cache", srvtopo.TopoTemplate, func() interface{} {
return resilientServer.CacheStatus()
})
servenv.AddStatusPart("Gateway Status", gateway.StatusTemplate, func() interface{} {
servenv.AddStatusPart("Gateway Status", vtgate.StatusTemplate, func() interface{} {
return vtg.GetGatewayCacheStatus()
})
servenv.AddStatusPart("Health Check Cache", discovery.HealthCheckTemplate, func() interface{} {
Expand Down
5 changes: 0 additions & 5 deletions go/cmd/vtgate/vtgate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ var (
var resilientServer *srvtopo.ResilientServer
var healthCheck discovery.HealthCheck

var initFakeZK func()

func init() {
rand.Seed(time.Now().UnixNano())
servenv.RegisterDefaultFlags()
Expand All @@ -60,9 +58,6 @@ func main() {
servenv.ParseFlags("vtgate")
servenv.Init()

if initFakeZK != nil {
initFakeZK()
}
ts := topo.Open()
defer ts.Close()

Expand Down
105 changes: 0 additions & 105 deletions go/cmd/vtgateclienttest/goclienttest/callerid.go

This file was deleted.

Loading

0 comments on commit b85e930

Please sign in to comment.