hgserver: update test-http-post-args.t for Mercurial 4.1 (bug 1333616); r?glob draft
authorGregory Szorc <gps@mozilla.com>
Mon, 03 Apr 2017 16:41:56 -0700
changeset 10648 b570ee86ca455142b249a8e68bd1858eb6f03a3a
parent 10643 f0cca5f89199aae20f68083fa6818eb6ad462288
child 10649 e54aeb8e96eff1594df1bd8025618ba77d182e00
push id1601
push userbmo:gps@mozilla.com
push dateMon, 03 Apr 2017 23:52:01 +0000
reviewersglob
bugs1333616
hgserver: update test-http-post-args.t for Mercurial 4.1 (bug 1333616); r?glob The total size of the HTTP message changed because 4.1 added some more request headers. Update the test accordingly. MozReview-Commit-ID: B8VMng7QRM
hgserver/tests/test-http-post-args.t
--- a/hgserver/tests/test-http-post-args.t
+++ b/hgserver/tests/test-http-post-args.t
@@ -9,13 +9,13 @@ Create a dummy repo
   (recorded repository creation in replication log)
 
 HTTP POST should be used for some HTTP requests
 
   $ hg -q clone ${HGWEB_0_URL}mozilla-central clone
   $ hgmo exec hgweb0 cat /var/log/httpd/hg.mozilla.org/access_log
   $DOCKER_HOSTNAME - - [*] "GET /mozilla-central?cmd=capabilities HTTP/1.1" 200 * "-" "mercurial/proto-1.0 (Mercurial *)" (glob)
   $DOCKER_HOSTNAME - - [*] "POST /mozilla-central?cmd=batch HTTP/1.1" 200 42 "-" "mercurial/proto-1.0 (Mercurial *)" (glob)
-  $DOCKER_HOSTNAME - - [*] "POST /mozilla-central?cmd=getbundle HTTP/1.1" 200 86 "-" "mercurial/proto-1.0 (Mercurial *)" (glob)
+  $DOCKER_HOSTNAME - - [*] "POST /mozilla-central?cmd=getbundle HTTP/1.1" 200 102 "-" "mercurial/proto-1.0 (Mercurial *)" (glob)
 
 Cleanup
 
   $ hgmo clean