]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: run a checkNotStale on the builders before running tests
authorBryan C. Mills <bcmills@google.com>
Wed, 18 Mar 2020 01:29:54 +0000 (21:29 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 12 Oct 2021 21:15:50 +0000 (21:15 +0000)
commit3d051ba8d40a8c2e2b02c0a96cf0c47b1a9c469b
treeaa9c1df3d26309adf09698f6f0667cff64bcfc4b
parentac6d706a058de56e5817ea820df4ed59492adbdf
cmd/dist: run a checkNotStale on the builders before running tests

This should be a no-op, but if the sharded builders are for some
reason distributing stale snapshots — or testing them with mismatched
environments — this should catch them out at a relatively low cost
(#24300 notwithstanding).

Given the frequently at which (*tester).runPending already checks for
staleness, we do not expect the impact of this extra check to be
significant for most builders.

For #33598
Updates #24300

Change-Id: I197d6a69c72e2eec9e4563b459206de76c89e8a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/223755
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/dist/test.go