diff tests/test-wireproto-caching.t @ 40919:762ef19a07e3

wireprotov2: send protocol settings frame from client Now that we have client and server reactor support for protocol settings and encoding frames, we can start to send them out over the wire! This commit teaches the client reactor to send out a protocol settings frame when needed. The httpv2 peer has been taught to gather a list of supported content encoders and to advertise them through the client reactor. Because the client is now sending new frame types by default, this constitutes a compatibility break in the framing protocol. The media type version has been bumped accordingly. This will ensure existing clients won't attempt to send the new frames to old servers not supporting this explicit media type. I'm not bothering with the BC annotation because everything wireprotov2 is highly experimental and nobody should be running a server yet. Differential Revision: https://phab.mercurial-scm.org/D4922
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 08 Oct 2018 17:00:16 -0700 (2018-10-09)
parents 9b19b8ce3804
children 30f70d11c224
line wrap: on
line diff
--- a/tests/test-wireproto-caching.t
+++ b/tests/test-wireproto-caching.t
@@ -121,13 +121,13 @@
 
   $ cat .hg/blackbox.log
   *> cacher constructed for manifestdata (glob)
-  *> cache miss for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
-  *> storing cache entry for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
+  *> cache miss for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
+  *> storing cache entry for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
   *> cacher constructed for manifestdata (glob)
-  *> cache hit for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
+  *> cache hit for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
   *> cacher constructed for manifestdata (glob)
-  *> cache miss for 6ed2f740a1cdd12c9e99c4f27695543143c26a11 (glob)
-  *> storing cache entry for 6ed2f740a1cdd12c9e99c4f27695543143c26a11 (glob)
+  *> cache miss for 1cf89363ec234c6b92d5961281eaa5713e7493f9 (glob)
+  *> storing cache entry for 1cf89363ec234c6b92d5961281eaa5713e7493f9 (glob)
 
   $ cat error.log
 
@@ -188,10 +188,10 @@
 
   $ cat .hg/blackbox.log
   *> cacher constructed for manifestdata (glob)
-  *> cache miss for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
-  *> storing cache entry for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
+  *> cache miss for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
+  *> storing cache entry for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
   *> cacher constructed for manifestdata (glob)
-  *> cache hit for c045a581599d58608efd3d93d8129841f2af04a0 (glob)
+  *> cache hit for 64b3162af49ea3c88e8ce2785e03ed7b88a2d6ca (glob)
 
   $ cat error.log
 
@@ -384,7 +384,7 @@
         }
       },
       b'framingmediatypes': [
-        b'application/mercurial-exp-framing-0005'
+        b'application/mercurial-exp-framing-0006'
       ],
       b'pathfilterprefixes': set([
         b'path:',
@@ -415,7 +415,7 @@
 
   $ cat .hg/blackbox.log
   *> cacher constructed for manifestdata (glob)
-  *> cache miss for 9d1bb421d99e913d45f2d099aa49728514292dd2 (glob)
+  *> cache miss for 904560928eb95650358f0829d9399b256822eb26 (glob)
   *> cacher exiting due to error (glob)
 
   $ killdaemons.py