Skip to content

Commit 3c1d577

Browse files
authored
Rollup merge of rust-lang#90928 - Mark-Simulacrum:fix-date-logging, r=pietroalbini
Use a different server for checking clock drift The detectportal.firefox.com server seems to return a random-ish date; for example I see the following across 5 curl's done consecutively locally, where the real date is approximately 15 Nov 2021 06:36 UTC. Date: Mon, 15 Nov 2021 13:34:53 GMT Date: Mon, 15 Nov 2021 12:20:21 GMT Date: Mon, 15 Nov 2021 00:06:47 GMT Date: Mon, 15 Nov 2021 17:14:33 GMT Date: Mon, 15 Nov 2021 13:33:21 GMT
2 parents cdc12ba + 9c7f4f4 commit 3c1d577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ datecheck() {
117117
echo -n " local time: "
118118
date
119119
echo -n " network time: "
120-
curl -fs --head http://detectportal.firefox.com/success.txt | grep ^Date: \
120+
curl -fs --head http://ci-caches.rust-lang.org | grep ^Date: \
121121
| sed 's/Date: //g' || true
122122
echo "== end clock drift check =="
123123
}

0 commit comments

Comments
 (0)