fix: ensure experiments return nil when we want to submit (#654)
Since https://github.com/ooni/probe-cli/pull/527, if an experiment returns an error, the corresponding measurement is not submitted since the semantics of returning an error is that something fundamental went wrong (e.g., we could not parse the input URL). This diff ensures that all experiments only return and error when something fundamental was wrong and return nil otherwise. Reference issue: https://github.com/ooni/probe/issues/1808.
This commit is contained in:
parent
60a3c372f5
commit
99ec7ffca9
27 changed files with 132 additions and 66 deletions
4
internal/engine/experiment/dash/doc.go
Normal file
4
internal/engine/experiment/dash/doc.go
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// Package dash implements the DASH network experiment.
|
||||
//
|
||||
// Spec: https://github.com/ooni/spec/blob/master/nettests/ts-021-dash.md
|
||||
package dash
|
||||
Loading…
Reference in a new issue