eyre: update tests to match fact-only clogs

Watch-acks no longer add to the clog counter, so we need to trigger an
additional fact to reach the test case we care about.
This commit is contained in:
fang 2020-11-10 23:12:14 +01:00
parent efdcc8b41e
commit 1c8e73a8f6
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -1853,7 +1853,7 @@
==
:: user gets sent multiple subscription results
::
=/ max=@ud (dec clog-threshold:eyre-gate)
=/ max=@ud clog-threshold:eyre-gate
=/ cur=@ud 0
|- =* loop-fact $
?. =(cur max)
@ -1896,6 +1896,24 @@
%- as-octt:mimes:html
"""
id: {((d-co:co 1) +(clog-threshold:eyre-gate))}
data: \{"json":[1],"id":1,"response":"diff"}
"""
complete=%.n
==
:* duct=~[/http-put-request] %pass
/channel/subscription/'0123456789abcdef'/'1'/~nul/two
%g %deal [~nul ~nul] %two %leave ~
==
:* duct=~[/http-get-open]
%give
%response
%continue
:- ~
%- as-octt:mimes:html
"""
id: {((d-co:co 1) (add 2 clog-threshold:eyre-gate))}
data: \{"id":1,"response":"quit"}