[cv] make gerritfake.SetReview guarantee increasing Updated time.

Discovered while implementing CL Purger which Refreshes CL
right after calling Cancel(), but Refresh didn't actually save
new Snapshot, because Updated time was the exact same as before.

R=qyearsley, yiwzhang

Bug: 1156241
Change-Id: Idf1d2817d297bf97bd9b90d11422c2f33eb6d07e
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/2732042
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
3 files changed
tree: 3820b86a2b3718afc9cb1115a3ede23a80e5fc3a
  1. .gitallowed
  2. .gitattributes
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTING.md
  6. CONTRIBUTORS
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.py
  10. README.md
  11. WATCHLISTS
  12. appengine/
  13. auth/
  14. buildbucket/
  15. casviewer/
  16. cipd/
  17. client/
  18. cmdrunner/
  19. codereview.settings
  20. common/
  21. config/
  22. cq/
  23. cv/
  24. dm/
  25. examples/
  26. gae/
  27. gce/
  28. grpc/
  29. hardcoded/
  30. led/
  31. logdog/
  32. luci_notify/
  33. lucicfg/
  34. lucictx/
  35. luciexe/
  36. machine-db/
  37. milo/
  38. mmutex/
  39. mp/
  40. resultdb/
  41. scheduler/
  42. server/
  43. starlark/
  44. swarming/
  45. tokenserver/
  46. tools/
  47. tumble/
  48. vpython/
  49. web/
README.md

luci-go: LUCI services and tools in Go

GoDoc

Installing

LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:

fetch infra
cd infra/go
eval `./env.py`
cd src/go.chromium.org/luci

Contributing

Contributing uses the same flow as Chromium contributions.