storj/satellite/audit
paul cannon ab2e793555 satellite/audit: test delay before Reverify
We are supposed to wait for some amount of time after a timed-out audit
before retrying the audit on the contained node. We are also supposed to
wait for some amount of time before subsequent retries, if they are
necessary. The test added here tries to assure that those delays happen,
as far as it is possible to assure that a delay will happen in computer
code.

The previous behavior of the system was, in fact, to carry out
Reverifies as soon as a worker could retrieve the job from the
reverification queue. That's not a very major problem, as subsequent
retries do have a delay and the node does get several retries. Still, it
was not ideal, and this test exposed that mismatch with expectations, so
this commit includes a minor change to effect that pause between verify
and the first reverify.

Refs: https://github.com/storj/storj/issues/5499
Change-Id: I83bb79c166a458ba59a2db2d17c85eca43ca90f0
2023-02-15 23:16:23 +00:00
..
audit_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
chore.go satellite/audit: prevent accessing unset reservoir segments 2022-12-14 17:43:17 -07:00
collector_test.go satellite/audit: prevent accessing unset reservoir segments 2022-12-14 17:43:17 -07:00
collector.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
common_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
containment_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
containment.go satellite/audit: add GetAllContainedNodes method to ReverifyQueue 2023-02-02 00:39:29 +00:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite/metainfo: support desired node number for download object/segment 2023-02-13 13:57:48 +00:00
getshare_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
integration_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
observer.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
pieces_test.go satellite/repair: update audit records during repair 2021-09-24 00:48:13 +00:00
pieces.go satellite/repair: move over audit.Pieces 2022-09-22 16:43:03 +00:00
queue.go satellite/audit: add GetAllContainedNodes method to ReverifyQueue 2023-02-02 00:39:29 +00:00
reporter_test.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
reporter.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
reservoir_test.go satellite/audit: merge support for reservoirs 2022-12-16 15:27:55 +00:00
reservoir.go satellite/audit: merge support for reservoirs 2022-12-16 15:27:55 +00:00
reverifier_test.go satellite/audit: change signature of ReverifyPiece 2022-12-07 18:32:42 +00:00
reverifier.go satellite/audit: Begin using piecewise reverifications 2022-12-16 14:21:13 +00:00
reverify_chore_test.go satellite/audit: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00
reverify_chore.go satellite/audit: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00
reverify_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
reverifyworker.go satellite/audit: add audit.ReverifyWorker 2022-12-12 11:57:08 +00:00
verifier_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
verifier_unit_test.go satellite/audit: Begin using piecewise reverifications 2022-12-16 14:21:13 +00:00
verifier.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
worker.go satellite/audit: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00