tests: stablize treemanifest-server test by sending stdout to null

Summary:
The order of stdout and stderr is kind of racy. Here is an example build
failure: https://fburl.com/sandcastle/zqt7weh0.

Reviewed By: mitrandir77

Differential Revision: D9203507

fbshipit-source-id: 084c532bc1d7b01c4daebc98e0b4930ba0da3763
This commit is contained in:
Jun Wu 2018-08-08 09:12:07 -07:00 committed by Facebook Github Bot
parent 1acaf11226
commit 2b42573eaa

View File

@ -383,24 +383,16 @@ Try pulling while treemanifest.blocksendflat is True
$ hg config treemanifest.treeonly
[1]
$ hg strip -qr a30b520ebf7a
$ hg pull --config extension.treemanifest=! --config fastmanifest.usetree=False
pulling from ssh://user@dummy/master
searching for changes
$ hg pull --config extension.treemanifest=! --config fastmanifest.usetree=False 1>/dev/null
remote: abort: must produce treeonly changegroups in a treeonly repository
adding changesets
remote: abort: unexpected error: must produce treeonly changegroups in a treeonly repository
transaction abort!
rollback completed
abort: pull failed on remote
[255]
- Pull to a hybrid manifest repo
$ hg pull
pulling from ssh://user@dummy/master
searching for changes
$ hg pull 1>/dev/null
remote: abort: must produce treeonly changegroups in a treeonly repository
adding changesets
remote: abort: unexpected error: must produce treeonly changegroups in a treeonly repository
transaction abort!
rollback completed
abort: pull failed on remote