Mercurial > hg
diff tests/test-serve.t @ 35666:2c6ebd0c850e
lfs: remove internal url in test
`test-lfs-test-server.t` refers to a FB internal domain and requires certain
implementation (ex. set error code to 404) at that endpoint. Without any
workaround, It should in theory error out like "Domain cannot be resolved".
I don't know how Matt Harbison ran the test.
This patch changes the test to only depend on `lfs-test-server`.
Unfortunately the logic has to be changed since `lfs-test-server` does not
set error code to 404 but just removes "download" from "actions".
Differential Revision: https://phab.mercurial-scm.org/D1849
author | Jun Wu <quark@fb.com> |
---|---|
date | Wed, 10 Jan 2018 21:27:05 -0800 |
parents | 5e92ba77793c |
children | 7de7bd407251 |