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
parent 9b52a050ba
commit 3f511d100b
3 changed files with 11 additions and 5 deletions
+6 -3
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.