Mercurial > hg-stable
diff tests/test-http-api-httpv2.t @ 41516:2f7408b7d247
tests: give up and make setsockopt() calls optional in the output
I can't figure out what causes these calls to happen or not, and I
weary of dealing with them. End the madness for now by marking them
all as optional lines of output.
Differential Revision: https://phab.mercurial-scm.org/D5762
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 30 Jan 2019 17:04:26 -0500 |
parents | 4f0aca2b8c21 |
children | 675775c33ab6 |
line wrap: on
line diff
--- a/tests/test-http-api-httpv2.t Thu Jan 31 11:12:59 2019 -0500 +++ b/tests/test-http-api-httpv2.t Wed Jan 30 17:04:26 2019 -0500 @@ -18,7 +18,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> GET /api/exp-http-v2-0003 HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -47,7 +47,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/badcommand HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -69,7 +69,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> GET /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -91,7 +91,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -114,7 +114,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: invalid\r\n @@ -139,7 +139,7 @@ > content-type: badmedia > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -166,7 +166,7 @@ > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> *\r\n (glob) @@ -203,7 +203,7 @@ > EOF creating http peer for wire protocol version 2 sending customreadonly command - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -251,7 +251,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> GET /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -273,7 +273,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> GET /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -295,7 +295,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -334,7 +334,7 @@ > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/rw/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -374,7 +374,7 @@ > accept: $MEDIATYPE > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/rw/badcommand HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -397,7 +397,7 @@ > user-agent: test > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> user-agent: test\r\n @@ -438,7 +438,7 @@ > frame 1 1 stream-begin command-request new cbor:{b'name': b'command1', b'args': {b'foo': b'val1', b'bar1': b'val'}} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/debugreflect HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -470,7 +470,7 @@ > frame 1 1 stream-begin command-request new cbor:{b'name': b'customreadonly'} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/customreadonly HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -513,7 +513,7 @@ > frame 3 1 0 command-request new cbor:{b'name': b'customreadonly'} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> *\r\n (glob) @@ -567,7 +567,7 @@ > frame 1 1 0 command-request continuation IbookmarksDnameHlistkeys > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -633,7 +633,7 @@ > frame 1 1 stream-begin command-request new cbor:{b'name': b'pushkey'} > EOF using raw connection to peer - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/multirequest HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -660,7 +660,7 @@ creating http peer for wire protocol version 2 sending heads command wire protocol version 2 encoder referenced in config (badencoder) is not known; ignoring - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n @@ -706,7 +706,7 @@ > EOF creating http peer for wire protocol version 2 sending heads command - s> setsockopt(6, 1, 1) -> None (py3 !) + s> setsockopt(6, 1, 1) -> None (?) s> POST /api/exp-http-v2-0003/ro/heads HTTP/1.1\r\n s> Accept-Encoding: identity\r\n s> accept: application/mercurial-exp-framing-0006\r\n