Commit Graph

6 Commits

Author SHA1 Message Date
Kostia Balytskyi
86f07601f7 sparse: rename fbsparse into sparse in tests
Reviewed By: phillco

Differential Revision: D10335084

fbshipit-source-id: 91e0a17957561410e397a006f99ebf549d34e1e4
2018-10-16 14:27:29 -07:00
Jun Wu
f6717b5ad2 test-fb-hgext-remotefilelog-sparse: glob out time numbers
Summary:
It could take longer than 1 second and cause test failures:

```
 --- test-fb-hgext-remotefilelog-sparse.t
+++ test-fb-hgext-remotefilelog-sparse.t.err
@@ -72,7 +72,7 @@
   $ hgcloneshallow ssh://user@dummy/master shallow2
   streaming all changes
   2 files to transfer, 527 bytes of data
-  transferred 527 bytes in 0.* seconds (*) (glob)
+  transferred 527 bytes in 3.1 seconds (169 bytes/sec)
   searching for changes
   no changes found
   updating to branch default
```

Reviewed By: singhsrb

Differential Revision: D8884485

fbshipit-source-id: 394e31c19aa83a431bf7456245a367ef673dcef4
2018-07-23 09:54:21 -07:00
Phil Cohen
6785da2366 fix flaky test-fb-hgext-remotefilelog-sparse.t
Summary: Similar to D8232838. This test can be so slow on Legocastle it fails on the leading 0.

Reviewed By: quark-zju

Differential Revision: D8233716

fbshipit-source-id: 7b617caacbea4a7ae244cf4cd7568afff0628a5e
2018-05-31 21:50:09 -07:00
Jun Wu
1cde63d99c codemod: drop hacks changing PYTHONPATH in tests
Summary:
Now they are unnecessary since `run-tests.py` will set up `PYTONPATH`
correctly.

Differential Revision: D6865042

fbshipit-source-id: ca95314f725968e14349a9d916434aa832c596f9
2018-04-13 21:51:00 -07:00
Kostia Balytskyi
ad3e7ccf17 tests_: fix test-fb-hgext-remotefilelog-sparse.t
Summary: Missed fix of wrong imports.

Test Plan: - run this test, it passes now

Reviewers: rmcelroy, #sourcecontrol

Reviewed By: rmcelroy

Differential Revision: https://phabricator.intern.facebook.com/D6682995

Signature: 6682995:1515504928:f8a0f2bff4c6dc1ff311ecdc12db63a3cfb69b3f
2018-01-09 05:40:12 -08:00
Durham Goode
fe980ff373 remotefilelog: move to hgext/
Summary:
Moves the remotefilelog extension into hgext/ and it's tests into
tests/.

I did not fix up all the check-module errors, since it's a ton of work for
very little impact at this point.

Test Plan: make local && ./run-tests.py

Reviewers: #mercurial

Differential Revision: https://phabricator.intern.facebook.com/D6680030
2018-01-08 18:58:08 -08:00