fix(websteps): use correct input for each URL measurement (#536)

Closes https://github.com/ooni/probe/issues/1798
This commit is contained in:
Simone Basso 2021-10-05 12:29:00 +02:00 committed by GitHub
commit 3f511d100b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -24,14 +24,17 @@ type ExperimentSession interface {
// ExperimentAsyncTestKeys is the type of test keys returned by an experiment
// when running in async fashion rather than in sync fashion.
type ExperimentAsyncTestKeys struct {
// Extensions contains the extensions used by this experiment.
Extensions map[string]int64
// Input is the input this measurement refers to.
Input MeasurementTarget
// MeasurementRuntime is the total measurement runtime.
MeasurementRuntime float64
// TestKeys contains the actual test keys.
TestKeys interface{}
// Extensions contains the extensions used by this experiment.
Extensions map[string]int64
}
// ExperimentMeasurerAsync is a measurer that can run in async fashion.