Commit Graph

64355 Commits

Author SHA1 Message Date
Mark Juggurnauth-Thomas
45fe2cc6b0 test_repo_factory: use test factory for bookmarks and pushrebase tests
Summary: Use the test factory for existing bookmarks and pushrebase tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169430

fbshipit-source-id: 65a7c87bc37cfa2b3b42873bc733cec177d8c1b0
2021-03-25 07:34:51 -07:00
Mark Juggurnauth-Thomas
bcc69eed04 test_repo_factory: use test factory for test fixtures
Summary: Use the test factory for test fixtures that are used in many existing tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169432

fbshipit-source-id: bb3cbfa95b330cf6572d1009c507271a7b008dec
2021-03-25 07:34:50 -07:00
Mark Juggurnauth-Thomas
0294b95c35 test_repo_factory: use test factory for lfs_server tests
Summary: Use the test factory for existing lfs_server tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169427

fbshipit-source-id: 004867780ad6a41c3b17963006a7d3b0e5b82113
2021-03-25 07:34:50 -07:00
Mark Juggurnauth-Thomas
917e1766bb test_repo_factory: use test factory for commit_rewriting tests
Summary: Use the test factory for existing commit_rewriting tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169442

fbshipit-source-id: df2447b2b6423d172e684d7e702752ad717a2a4b
2021-03-25 07:34:50 -07:00
Mark Juggurnauth-Thomas
fb9f966acf test_repo_factory: use test factory for repo_client and repo_import tests
Summary: Use the test factory for existing repo_client and repo_import tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169425

fbshipit-source-id: 2d0c34f129447232cec8faee42056d83613de179
2021-03-25 07:34:50 -07:00
Mark Juggurnauth-Thomas
ee159ebecc test_repo_factory: use test factory for hooks and mapping tests
Summary: Use the test factory for existing hooks and mapping tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169436

fbshipit-source-id: f814e462bb2244e117c83bd355042016f5bfde8e
2021-03-25 07:34:49 -07:00
Mark Juggurnauth-Thomas
9e863b0224 test_repo_factory: use test factory for mononoke_api tests
Summary: Use the test factory for existing mononoke_api tests.

Reviewed By: StanislavGlebik

Differential Revision: D27169444

fbshipit-source-id: d940bfa494dfe89fdb891d5248b73ba764f74faf
2021-03-25 07:34:49 -07:00
Mark Juggurnauth-Thomas
dad89a4233 test_repo_factory: use test factory for derived data tests
Summary: Use the test factory for existing derived data tests.

Reviewed By: farnz

Differential Revision: D27169433

fbshipit-source-id: b9b57a97f73aeb639162c359ab60c6fd92da14a8
2021-03-25 07:34:49 -07:00
Mark Juggurnauth-Thomas
cc30bf6552 test_repo_factory: add factory for test repos
Summary:
Create a factory that can be used to build repositories in tests.

The test repo factory will be kept in a separate crate to the production repo factory, so that it can depend on a smaller set of dependencies: just those needed for in-memory test repos.  This should eventually help make compilation speeds faster for tests.

A notable difference between the test repos produced by this factory and the ones produced by `blobrepo_factory` is that the new repos share the in-memory metadata database.  This is closer to what we use in production, and in a couple of places it is relied upon and existing tests must use `dangerous_override` to make it happen.

Reviewed By: ahornby

Differential Revision: D27169441

fbshipit-source-id: 82541a2ae71746f5e3b1a2a8a19c46bf29dd261c
2021-03-25 07:34:49 -07:00
Mark Juggurnauth-Thomas
6b16e16fa9 blobrepo: convert to facet container
Summary:
Convert `BlobRepo` to a `facet::container`.  This will allow it to be built
from an appropriate facet factory.

This only changes the definition of the structure: we still use
`blobrepo_factory` to construct it.  The main difference is in the types
of the attributes, which change from `Arc<dyn Trait>` to
`Arc<dyn Trait + Send + Sync + 'static`>, specified by the `ArcTrait` alias
generated by the `#[facet::facet]` macro.

Reviewed By: StanislavGlebik

Differential Revision: D27169437

fbshipit-source-id: 3496b6ee2f0d1e72a36c9e9eb9bd3d0bb7beba8b
2021-03-25 07:34:49 -07:00
Mark Juggurnauth-Thomas
1481df3632 repo_blobstore: convert to newtype wrapper
Summary: To prepare for making `RepoBlobstore` a facet, convert it to a newtype wrapper.

Reviewed By: ahornby

Differential Revision: D27169439

fbshipit-source-id: ceefe307e962c03c3b89be660b5b6c18d79acf3e
2021-03-25 07:34:49 -07:00
svcscm
ad93fa90bb Updating submodules
Summary:
GitHub commits:

5cb5c3460a
d05afa7ae5

Reviewed By: bigfootjon

fbshipit-source-id: e8dbaec8941e23e888a169b9e0ab713cbbb0df52
2021-03-25 06:57:19 -07:00
Egor Tkachenko
8b7dc976e6 Add support for backup-repo-name argument
Summary: We have support for backup-repo-id, but tw blobimport doesn't have id and have source repo name to use. Let's add support similar to other repo-id/source-repo-id etc.

Reviewed By: StanislavGlebik

Differential Revision: D27325583

fbshipit-source-id: 44b5ec7f99005355b8eaa4c066cb7168ec858049
2021-03-25 06:45:25 -07:00
svcscm
d70aa26a14 Updating submodules
Summary:
GitHub commits:

dea86d9488
ff7223f5c8

Reviewed By: bigfootjon

fbshipit-source-id: 38670a63ac4a9c99d2d81ac27c602ca7f5ca0e41
2021-03-25 06:45:25 -07:00
svcscm
6d28719f7f Updating submodules
Summary:
GitHub commits:

ed9c3721c7

Reviewed By: bigfootjon

fbshipit-source-id: 40d21152e4e5b70b31b8d23d1d16fff083cc384a
2021-03-25 04:23:26 -07:00
Simon Farnsworth
b4d358f2e4 Modern futures for SQLBlob construction
Summary:
I'm trying to track down an issue in SQLBlob construction, where it takes over 3 wall-clock seconds to construct.

This is indicative of a missing `blocking` annotation somewhere; to make it easier to add the correct annotation, switch construction to modern futures and `async`

Reviewed By: krallin

Differential Revision: D27275801

fbshipit-source-id: 2b516b4eca7143e4be17c50c6542a9da601d6ac6
2021-03-25 04:14:17 -07:00
svcscm
dd81ccbb5e Updating submodules
Summary:
GitHub commits:

0bf43926a2

Reviewed By: bigfootjon

fbshipit-source-id: 056daf4afd68992fd8a57ef1aeb69065e8a1b421
2021-03-25 03:35:38 -07:00
Alex Hornby
de028f62a9 mononoke: use unlink() in PackBlob::put_packed
Summary:
The pack key needs to be removed using unlink() after target keys are pointed to it so that old unused packs can be GCed. e.g.

packer run 1: keys A and B are packed to P1
packer run 2: keys A and C are packed to P2
packer run 3: keys B and D are packed to P3

If we don't unlink P1 during run1 then GC can't collect the old pack after run 3 as the key will keep it live

Reviewed By: farnz

Differential Revision: D27188108

fbshipit-source-id: bbe22a011abbf85370a8c548413401ffb54b16b6
2021-03-25 02:13:14 -07:00
Meyer Jacobs
ff217c2407 scmstore: introduce new StoreTree type for basic type-safe handling of trees
Summary:
Refactor `scmstore::types` into separate `file` and `tree` modules and introduce a new `StoreTree` type to represent trees in the scmstore API.

Introduce a minimal `StoreTree` type. Importantly, for now this type does not provide any methods for deserializing the tree manifest and inspecting it's contents. This functionality won't be too hard to implement, though - it'll require some revisions to the `manifest-tree` crate and / or moving the `StoreTree` and `StoreFile` types to `revisionstore_types`.

Reviewed By: kulshrax

Differential Revision: D27310878

fbshipit-source-id: 712330fba87f33c49587fa895efea3601ce377af
2021-03-25 01:16:49 -07:00
svcscm
f71d7e309d Updating submodules
Summary:
GitHub commits:

1078ff2ae2
22c902009f
55c6b8cb96
211b063f1c
ab24b2d2a1
4eaf9b9fdf

Reviewed By: bigfootjon

fbshipit-source-id: 0bbccfee2f751b9e8125082729df65877c007891
2021-03-24 20:53:11 -07:00
Jun Wu
cb876b6b93 phabdiff: optimize 'singlepublicbase' template for revlog backend
Summary:
The revset is not optimized for the (to be migrated to segments) revlog backend.
Optimize it.

Reviewed By: jteosw

Differential Revision: D27317708

fbshipit-source-id: cec9d6aad0f6c30c69a931898f8e1cc7c904b3f8
2021-03-24 20:49:19 -07:00
svcscm
00939f83d9 Updating submodules
Summary:
GitHub commits:

c8206faf1b

Reviewed By: bigfootjon

fbshipit-source-id: c24a1561a912ae69554832d87493f2f9ac45ba01
2021-03-24 20:49:19 -07:00
svcscm
202f3cde47 Updating submodules
Summary:
GitHub commits:

fb64521116
bdf710332d
45de25fcaa

Reviewed By: bigfootjon

fbshipit-source-id: 409d11118cae7ccf570e0aaf657116c1e3349df9
2021-03-24 17:08:11 -07:00
svcscm
03b7e9a71e Updating submodules
Summary:
GitHub commits:

fa025828ba
87e8381187
308484b5e0
7b59115b1a

Reviewed By: bigfootjon

fbshipit-source-id: 2cc098f390e2b99987feb58b624873700630c197
2021-03-24 17:08:11 -07:00
svcscm
575bc61b68 Updating submodules
Summary:
GitHub commits:

3aa5ddbdb3

Reviewed By: bigfootjon

fbshipit-source-id: 66bbf5fb728c85f84dc42f659bb6b95248ce21cb
2021-03-24 14:18:57 -07:00
Thomas Orozco
2616476f4c mononoke/newfilenodes: sort filenode rows prior to insertion
Summary:
We've seen occasional index timeouts on inserts in MySQL. This is very
reminiscent of D19158550 (fef360b284).

aida points out this seems to have started to happen (occasionally) recently.
That would make sense: we used to insert one-by-one so we wouldn't have ordering
issues (because bug), but we also recently started inserting in batches again (because bugfix).

There's little reason to expect we couldn't run into the same bug there as well.

So let's give filenodes & copydata the same sorting treatment we give paths.
Worst case, this does nothing. Best case, it fixes the issue.

Reviewed By: StanislavGlebik

Differential Revision: D27301588

fbshipit-source-id: 2b24ddd68e1a1c4e31fe33e03efcef47dad3657d
2021-03-24 13:55:01 -07:00
svcscm
73283648ca Updating submodules
Summary:
GitHub commits:

1f894184a2
37083d6d91

Reviewed By: bigfootjon

fbshipit-source-id: 0fe47c3420d42f92ca04e835f9b273c0ce94cc0f
2021-03-24 13:09:30 -07:00
Meyer Jacobs
c04b2a9e11 scmstore: fix "memcache singleton" issue by dropping filescmstore along with contentstore
Summary: Previously, accessing both repo.filelog and repo.manifestlog in a test debug command, under buck builds only, would cause a "memcache singleton leaked" error to be printed after the command completes (see https://www.internalfb.com/intern/qa/87181/runtime-warnings-about-memcacheconnectionmanagerim ). There are still some unanswered questions about this issue, as noted in the QA post, but this fixes the main issue at hand.

Reviewed By: sfilipco

Differential Revision: D27297498

fbshipit-source-id: e19665333bae9f91e1c3c6db370962a3aea2727d
2021-03-24 12:53:01 -07:00
Meyer Jacobs
943e3beaa1 scmstore: rename newstore to scmstore
Summary:
Rename "newstore" to "scmstore"

The three main options I'm considering are "edenstore", "scmstore", and "hgstore". They all describe the project sufficiently well, in my opinion. "edenstore" might be a stretch, as I have no reals plans for Mononoke to use it, while "hgstore" might be a bit limited, as integration with EdenFS is a core goal, and it'll be used by EdenFS to fetch remote data via EdenApi, not just Mercurial's local storage. I feel like "scmstore" rolls off the tongue the easiest, particularly vs. "hgstore" (both "H.G. Store" and "Mercurial Store"), and is a bit easier to type than "edenstore" (which has "ede" all with the same finger). I don't have a strong opinion on this matter, so If you'd like a different name I'm open to suggestions.

Speak now or forever hold your peace.

Reviewed By: andll

Differential Revision: D27180332

fbshipit-source-id: 19e6972ea0f6527e671792845dcfd339cf1ab767
2021-03-24 12:53:01 -07:00
Meyer Jacobs
b7e4757faa newstore: introduce new StoreFile type with strongly-typed redaction, LFS Pointers, and copy-header support
Summary:
Introduce a new `StoreFile` type for the `revisionstore` crate. This is an enum of `File`, `LfsPointer`, and `RedactedFile`, which represent the different cases the `Entry` type's `content` might actually represent. The `File` variant also handles stripping the copy header, if present, and stores both the `copied_from`, raw unstripped `content`, and stripped `content`, though only the latter can be accessed through the public API right now. Ideally, we'll move copy information into the history API and never actually need to make it public here.

Conversions are provided from `Entry` and EdenApi's `FileEntry` type (which also supports redaction and LFS pointers, but as errors instead of first-class values).

Modify the output type used in the Python bindings to use this new `StoreFile` type.

Currently, the `LfsPointer` variant is unused. This will be used later when we add first-class LFS support.

Reviewed By: kulshrax

Differential Revision: D26862710

fbshipit-source-id: 8326921f3ee43bf2e253847d5735c61f5a50bfa6
2021-03-24 12:53:01 -07:00
Meyer Jacobs
dbc5d45e72 newstore: add ExtStoredPolicy support to new storage backends
Summary: Adds `ExtStoredPolicy` support to the EdenApi and IndexedLog ReadStore implementations. This flag controls how LfsPointers found during a file query are handled (either returned as a result, or treated as "not found").

Reviewed By: kulshrax

Differential Revision: D27171814

fbshipit-source-id: 14dda47f32184c3ee703fbc77106885ca4d3ea27
2021-03-24 12:53:01 -07:00
svcscm
937d7ed4be Updating submodules
Summary:
GitHub commits:

32a08e5a96
7df2d7e509
b92724b0bd
8f1725c3ad
b6ddf87ab7
1375a8f338
203f7ff6e0
88e3332ab9

Reviewed By: bigfootjon

fbshipit-source-id: 03a1cc54ebb8f0176efa8cdcd37790856cf60227
2021-03-24 12:30:19 -07:00
Alex Hornby
169bc7d659 mononoke: add unlink operation to BlobstoreWithLink
Summary:
Add an unlink operation to BlobstoreWithLink for use from packblob in the next diff.

The reason an unlink operation is needed is so that pack keys don't keep old packed data live longer than it should be.  e.g.

Before the packer runs, keys A, B, C, D each point to content A, B, C, D

packer run 1: keys A and B are packed to P1. Keys A, B, P1 now all point to pack P1
GC run here can remove content A and B
packer run 2: keys A and C are packed to P2. Keys A, C, P2 now all point to P2.
GC run here can remove content C
packer run 3: keys B and D are packed to P3. Keys B, D, P3 now all point to P3.
GC run here can remove content B and D.
At this point, keys A, C point to pack P2, keys B, D point to pack P3.

If we don't unlink pack P1 during packer run 1 then GC can't collect the old pack after run 3 as the key P1 will keep it live; if we unlink key P1 after pointing keys A and B to point at P1, then when keys A and B stop pointing to pack P1, there will be no further references.

The unlink method is on the BlobstoreWithLink trait which most Mononoke code does not reference and therefore can't easily accidentally call.

Its modelled on posix unlink(2), it will error if the key being unlinked does not exist.

Reviewed By: farnz

Differential Revision: D27188109

fbshipit-source-id: 628698dd5894895e2aff5cf7db979d32e1bc2b3e
2021-03-24 11:12:51 -07:00
Egor Tkachenko
d522a8b6b0 Derive Filenodes in batch
Summary: For batch deriviation of filenodes we can first dervie non-root filenodes and write them into db and after that write all root-filenodes for that batch of commits.

Reviewed By: StanislavGlebik

Differential Revision: D27044302

fbshipit-source-id: 2a2eb8e336c787c4210192500b4d4a2a0663a29c
2021-03-24 10:30:11 -07:00
Xavier Deguillard
23ce5849d5 nfs: remove MountdUtil.cpp
Summary:
This used to be very useful in the early stages, as a way to manually test the
code, now that the NFS procotol is pretty well defined and tests are actually
running, this has outlived its usefulness, let's simply remove the code.

Reviewed By: kmancini

Differential Revision: D27194039

fbshipit-source-id: af86edd9f438448209a7d14ba66c9b54d90a9594
2021-03-24 10:17:49 -07:00
Xavier Deguillard
53aee6e28b nfs: remove unecessary moves
Summary:
When I wrote the NFS code, I used `std::move` a bit too much, on datastructure
where moving them is equivalent to copying them. Instead, we can simply use
references, which makes the code shorter, and thus more efficient.

Reviewed By: kmancini

Differential Revision: D27172574

fbshipit-source-id: d9f06bf3f519e3539cf5cd0a0c4e4a49ef8009a8
2021-03-24 10:17:49 -07:00
Xavier Deguillard
022613e90c nfs: add missing DirListTest
Summary:
This should have been added in D27243075 (5a150e125a) but I forgot to run `hg add` and it
was thus not added...

Reviewed By: fanzeyi

Differential Revision: D27279169

fbshipit-source-id: 69807cc05fef33f51b2a491b66c2e8aeb7136deb
2021-03-24 09:45:26 -07:00
svcscm
60bee62179 Updating submodules
Summary:
GitHub commits:

7cdcfcab6b

Reviewed By: bigfootjon

fbshipit-source-id: b20fdda1b55386c104b19b9e45c3d78c8da88e22
2021-03-24 09:45:26 -07:00
svcscm
bcfdf0cc91 Updating submodules
Summary:
GitHub commits:

4cdb190482

Reviewed By: bigfootjon

fbshipit-source-id: 42ad9cf76d3798270851d3f3c362ecf052792e82
2021-03-24 08:57:59 -07:00
Johan Schuijt-Li
a90b7d64ea mononoke: replace platform007 tool references with platform009 tools
Reviewed By: HarveyHunt

Differential Revision: D27261636

fbshipit-source-id: 7f53f577fdc52b4f7db0236929721301fde75727
2021-03-24 08:48:32 -07:00
svcscm
8382fa82ab Updating submodules
Summary:
GitHub commits:

632e33d55d

Reviewed By: bigfootjon

fbshipit-source-id: 61a89d04919d20360d9d8635da6b35d0ce10bea9
2021-03-24 08:48:32 -07:00
svcscm
9efda5ecb2 Updating submodules
Summary:
GitHub commits:

521d31c588

Reviewed By: bigfootjon

fbshipit-source-id: 92e9a33e86de0de10f5bc30c4a4a919af24cef52
2021-03-24 04:56:22 -07:00
Simon Farnsworth
821990938a Use Manifold direct reads and weak consistency
Summary:
Direct reads mean we cut the Manifold server out of the loop for bigger reads, and is an enabler for Hedwig and other ways to distribute a big blob between tasks in a region.
Weak consistency means that we don't always check the master server for metadata for a blob, which should speed up reads especially in remote regions; it depends on direct reads to function, as it allows us to grab the read plan from Memcache and then go directly to the backend storage (ZippyDB, Everstore) instead of via the Manifold servers

Reviewed By: StanislavGlebik

Differential Revision: D27264690

fbshipit-source-id: 78fe77dfa4f85b5bf657b64e56577f4e00af0b94
2021-03-24 03:56:25 -07:00
svcscm
e08f59eb96 Updating submodules
Summary:
GitHub commits:

972777b1da

Reviewed By: bigfootjon

fbshipit-source-id: 2ecb7ed59d833df242cda128fd8dfb2d44f80bf2
2021-03-24 03:56:25 -07:00
svcscm
00b347fbbc Updating submodules
Summary:
GitHub commits:

6491a967b4
2398531fe7
8a1c024d39
da6b90ab48
d86a4d82ca
9b72b5e526
94ac814107
7c0c486650
834215a2bc

Reviewed By: bigfootjon

fbshipit-source-id: 9b449cb2bcd48971528c1fc37c47395001da2a51
2021-03-24 01:08:57 -07:00
Arun Kulshreshtha
1e34440f74 http-client: allow on_new_request to configure Request
Summary:
Make the `RequestCreationEventListeners::new_request` event listener take an `&mut Request` instead of an `&mut RequestContext` as a parameter.

In the existing code (particularly in the `hg-http` crate), this event listener is used to configure the `RequestContext` for reporting progress. This diff just generalizes this idea, allowing the listener to modify the entire `Request`.

This is useful when we need to hijack request creation in `hg-http` to do Mercurial-specific configuration. The specific use case here is to disable TLS certificate checking when the global `--insecure` flag is set.

(Note that `http-client` itself is application-agnostic, so Mercurial specific configuration should not happen in this crate. This is why `hg-http` exists at all.)

Reviewed By: quark-zju

Differential Revision: D27242947

fbshipit-source-id: 019e19037642fe24acaa8c2917d446b91e7bcb26
2021-03-23 23:31:10 -07:00
Arun Kulshreshtha
b12c140f6f http-client: add options to disable TLS verification
Summary: Add `verify_tls_cert` and `verify_tls_host` settings to `http-client::Request` that are equivalent to [`CURLOPT_SSL_VERIFYPEER`](https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html) and [`CURLOPT_SSL_VERIFYHOST`](https://curl.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html). These will be used to allow skipping cert validation with the `--insecure` flag.

Reviewed By: quark-zju, sfilipco

Differential Revision: D27242946

fbshipit-source-id: cfa0fe800d0d132ca10ec0203bfd20b53c68b814
2021-03-23 23:31:10 -07:00
Arun Kulshreshtha
573d86268d clidispatch: expose global options from Dispatcher
Summary: Used later in stack.

Reviewed By: quark-zju

Differential Revision: D27255244

fbshipit-source-id: 3630dfaa0e5513d4ab9de91d5a6867c859061685
2021-03-23 23:31:10 -07:00
Jun Wu
ab74c10962 test-run-tests: remove xml test cases for test reliability
Summary:
There was a recent build failure that looks like:

    --- test-run-tests.t
    +++ test-run-tests.t.err
    @@ -375,21 +375,19 @@
       [1]
       $ cat xunit.xml
       <?xml version="1.0" encoding="utf-8"?>
    -  <testsuite errors="0" failures="2" name="run-tests" skipped="0" tests="3">
    +  <testsuite name="run-tests" tests="3" errors="0" failures="2" skipped="0">
         <testcase name="test-success.t" time="*"/> (glob)
         <testcase name="test-failure-unicode.t" time="*"> (glob)
    -      <failure message="output changed" type="output-mismatch">
    -  <![CDATA[--- test-failure-unicode.t
    +      <failure message="output changed" type="output-mismatch"><![CDATA[--- test-failure-unicode.t
       +++ test-failure-unicode.t.err
       @@ -1,2 +1,2 @@
          $ echo babar\xce\xb1 (esc)
       -  l\xce\xb5\xce\xb5t (esc)
       +  babar\xce\xb1 (esc)
    -  ]]>    </failure>
    +  ]]></failure>
         </testcase>
         <testcase name="test-failure.t" time="*"> (glob)
    -      <failure message="output changed" type="output-mismatch">
    -  <![CDATA[--- test-failure.t
    +      <failure message="output changed" type="output-mismatch"><![CDATA[--- test-failure.t
       +++ test-failure.t.err
       @@ -1,5 +1,5 @@
          $ echo babar
    @@ -398,7 +396,7 @@
        This is a noop statement so that
        this test is still more bytes than success.
        pad pad pad pad............................................................
    -  ]]>    </failure>
    +  ]]></failure>
         </testcase>
       </testsuite>

    @@ -435,7 +433,7 @@
       test-success.t
       $ cat xunit.xml
       <?xml version="1.0" encoding="utf-8"?>
    -  <testsuite errors="0" failures="0" name="run-tests" skipped="0" tests="0">
    +  <testsuite name="run-tests" tests="0" errors="0" failures="0" skipped="0">
         <testcase name="test-failure-unicode.t"/>
         <testcase name="test-failure.t"/>
         <testcase name="test-success.t"/>
    @@ -455,7 +453,7 @@
       } (no-eol)
       $ cat xunit.xml
       <?xml version="1.0" encoding="utf-8"?>
    -  <testsuite errors="0" failures="0" name="run-tests" skipped="0" tests="0">
    +  <testsuite name="run-tests" tests="0" errors="0" failures="0" skipped="0">
         <testcase name="test-failure-unicode.t"/>
         <testcase name="test-failure.t"/>
       </testsuite>
    @@ -1086,11 +1084,10 @@
       # Ran 2 tests, 2 skipped, 0 failed.
       $ cat xunit.xml
       <?xml version="1.0" encoding="utf-8"?>
    -  <testsuite errors="0" failures="0" name="run-tests" skipped="2" tests="2">
    +  <testsuite name="run-tests" tests="2" errors="0" failures="0" skipped="2">
         <testcase name="test-success.t" time="*"/> (glob)
         <testcase name="test-skip.t">
    -      <skipped>
    -  <![CDATA[missing feature: nail clipper]]>    </skipped>
    +      <skipped><![CDATA[missing feature: nail clipper]]></skipped>
         </testcase>
       </testsuite>

Seems to be something changed in XML representation. We don't use the XML interface
in production so let's just skip testing it.

Reviewed By: kulshrax

Differential Revision: D27273482

fbshipit-source-id: 954a60209adeb3362f10705302dc742358299378
2021-03-23 23:04:24 -07:00
svcscm
3d9c7de4c6 Updating submodules
Summary:
GitHub commits:

7626664b5b
01f868173f
bb24614fd8
d45ef59201

Reviewed By: bigfootjon

fbshipit-source-id: 1c9f207141958f507cc3195a54cd60b7823cef7f
2021-03-23 23:04:24 -07:00