Add support for tracking the is_uploaded status in the results table (#312)
* Add support for tracking the is_uploaded status in the results table * Add unit tests for measurement upload status This implements: https://github.com/ooni/probe/issues/1457 * Update cmd/ooniprobe/internal/database/actions.go Co-authored-by: Simone Basso <bassosimone@gmail.com>
This commit is contained in:
@@ -83,6 +83,7 @@ func init() {
|
||||
MeasurementAnomalyCount: 0,
|
||||
TestKeys: "{}", // FIXME this used to be Summary we probably need to use a list now
|
||||
Done: result.IsDone,
|
||||
IsUploaded: result.IsUploaded,
|
||||
DataUsageUp: result.DataUsageUp,
|
||||
DataUsageDown: result.DataUsageDown,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user