Commit Graph

3 Commits

Author SHA1 Message Date
Durham Goode
ad813edcbd treemanifest: enable treemanifest by default in tests
Summary:
Now that all our repos are treemanifest, let's enable the extension by
default in tests. Once we're certain no one needs it in production we'll also
make it the default in core Mercurial.

This diff includes a minor fix in treemanifest to be aware of always-enabled
extensions. It won't matter until we actually add treemanifest to the list of
default enabled extensions, but I caught this while testing things.

Reviewed By: ikostia

Differential Revision: D15030253

fbshipit-source-id: d8361f915928b6ad90665e6ed330c1df5c8d8d86
2019-05-28 03:17:02 -07:00
Jun Wu
4ddedaf7d2 tests: remove most rocksdb test cases
Summary:
RocksDB and InnoDB are highly compatibile. There is no need to test RocksDB
engine for every hgsql related tests. Only use rocksdb for 2 of the tests.

Reviewed By: phillco

Differential Revision: D10055068

fbshipit-source-id: f9b7ef546fe7d457b0390e49014ebbe56d3c12c1
2018-09-26 14:20:15 -07:00
Saurabh Singh
58a52b4238 test-global-revs-requires: test disabling globalrevs causes error
Summary:
Once we have the `globalrevs` extension enabled, it should always be
enabled for proper operation of the repository. This test checks that disabling
the `globalrevs` extension would cause a Mercurial error provided we the
`.hg/requires` is valid.

Reviewed By: DurhamG

Differential Revision: D8364385

fbshipit-source-id: 9c512dd2f9fa27c69f366f15dab040286a195ae1
2018-06-28 08:19:23 -07:00