Skip to content

Commit

Permalink
can I get the crash without snowflake?
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Mar 22, 2023
1 parent fc6d0b6 commit 8a0118d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/cmd/testtorsf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ import (
"time"

"github.com/apex/log"
"github.com/ooni/probe-cli/v3/internal/experiment/torsf"
"github.com/ooni/probe-cli/v3/internal/experiment/vanillator"
"github.com/ooni/probe-cli/v3/internal/kvstore"
"github.com/ooni/probe-cli/v3/internal/model"
"github.com/ooni/probe-cli/v3/internal/model/mocks"
"github.com/ooni/probe-cli/v3/internal/runtimex"
)

func runit() {
measurer := torsf.NewExperimentMeasurer(torsf.Config{
DisablePersistentDatadir: false,
DisableProgress: false,
RendezvousMethod: "",
measurer := vanillator.NewExperimentMeasurer(vanillator.Config{
//DisablePersistentDatadir: false,
DisableProgress: false,
//RendezvousMethod: "",
})
meas := &model.Measurement{}
err := measurer.Run(
Expand Down Expand Up @@ -56,7 +56,7 @@ func runit() {
},
)
runtimex.PanicOnError(err, "measurer.Run failed")
tk := meas.TestKeys.(*torsf.TestKeys)
tk := meas.TestKeys.(*vanillator.TestKeys)
runtimex.Assert(tk.Success, "did not succeed")
}

Expand Down

0 comments on commit 8a0118d

Please sign in to comment.