nettests: Just use "ndt", which is now "ndt7" in probe-engine (#121)

Part of https://github.com/ooni/backend/issues/369
This commit is contained in:
Simone Basso 2020-03-18 15:50:55 +01:00 committed by GitHub
parent 1d3e7e11ae
commit 07e4367f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

2
go.mod
View File

@ -9,7 +9,7 @@ require (
github.com/fatih/color v1.9.0
github.com/getsentry/raven-go v0.0.0-20190419175539-919484f041ea
github.com/mattn/go-colorable v0.1.6
github.com/ooni/probe-engine v0.8.1-0.20200312175352-514bac7d2d02
github.com/ooni/probe-engine v0.8.1-0.20200318142414-72996215e2f3
github.com/pkg/errors v0.9.1
github.com/rubenv/sql-migrate v0.0.0-20200212082348-64f95ea68aa3
gopkg.in/AlecAivazis/survey.v1 v1.8.8

4
go.sum
View File

@ -294,8 +294,8 @@ github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME=
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/ooni/probe-engine v0.8.1-0.20200312175352-514bac7d2d02 h1:6DO9zbZcxFYRj0UBQpvJ/k2Z1Hr6MqK2j7ro4NNGm3I=
github.com/ooni/probe-engine v0.8.1-0.20200312175352-514bac7d2d02/go.mod h1:/XAS6LeuYX8lqrqPF+3f/ib3w/SYA1+V14jHPPOSoSk=
github.com/ooni/probe-engine v0.8.1-0.20200318142414-72996215e2f3 h1:lmipd5Oyip8unAMuyqoBcJ2WEMYIDnhsg7Y4snkdtZg=
github.com/ooni/probe-engine v0.8.1-0.20200318142414-72996215e2f3/go.mod h1:/XAS6LeuYX8lqrqPF+3f/ib3w/SYA1+V14jHPPOSoSk=
github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c/go.mod h1:t+O9It+LKzfOAhKTT5O0ehDix+MTqbtT0T9t+7zzOvc=
github.com/openconfig/reference v0.0.0-20190727015836-8dfd928c9696/go.mod h1:ym2A+zigScwkSEb/cVQB0/ZMpU3rqiH6X7WRRsxgOGw=
github.com/oschwald/geoip2-golang v1.4.0 h1:5RlrjCgRyIGDz/mBmPfnAF4h8k0IAcRv9PvrpOfz+Ug=

View File

@ -10,7 +10,8 @@ type NDT struct {
// Run starts the test
func (n NDT) Run(ctl *Controller) error {
builder, err := ctl.Ctx.Session.NewExperimentBuilder("ndt7")
// Since 2020-03-18 probe-engine exports v7 as "ndt".
builder, err := ctl.Ctx.Session.NewExperimentBuilder("ndt")
if err != nil {
return err
}