mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
mononoke: fix test
Summary: test-init.t and test-lfs-to-mononoke.t were failing. This diff fixes them Differential Revision: D13301143 fbshipit-source-id: 1f8060d4c6b641c555ba8a5cdcfe4cb14ac89d0a
This commit is contained in:
parent
ec86d453ae
commit
a9d81657d0
@ -243,7 +243,9 @@ function no_ssl_apiserver {
|
||||
|
||||
function wait_for_apiserver {
|
||||
for _ in $(seq 1 200); do
|
||||
PORT=$(grep "Listening to" < "$TESTTMP/apiserver.out" | grep -Pzo "(\\d+)\$") && break
|
||||
if [[ -a "$TESTTMP/apiserver.out" ]]; then
|
||||
PORT=$(grep "Listening to" < "$TESTTMP/apiserver.out" | grep -Pzo "(\\d+)\$") && break
|
||||
fi
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
|
@ -121,6 +121,7 @@ start mononoke
|
||||
$ wait_for_mononoke $TESTTMP/repo
|
||||
$ hgmn debugwireargs ssh://user@dummy/disabled_repo one two --three three
|
||||
remote: * DEBG Session with Mononoke started with uuid: * (glob)
|
||||
remote: * ERRO Requested repo "disabled_repo" does not exist or disabled (glob)
|
||||
abort: no suitable response from remote hg!
|
||||
[255]
|
||||
$ hgmn debugwireargs ssh://user@dummy/repo one two --three three
|
||||
|
Loading…
Reference in New Issue
Block a user