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 committed by GitHub
parent 3ca993df07
commit 1e8d6651ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
@ -1895,7 +1895,7 @@
:- ~
%- as-octt:mimes:html
"""
id: {((d-co:co 1) clog-threshold:eyre-gate)}
id: {((d-co:co 1) +(clog-threshold:eyre-gate))}
data: \{"json":[1],"id":1,"response":"diff"}
@ -1913,7 +1913,7 @@
:- ~
%- as-octt:mimes:html
"""
id: {((d-co:co 1) +(clog-threshold:eyre-gate))}
id: {((d-co:co 1) (add 2 clog-threshold:eyre-gate))}
data: \{"id":1,"response":"quit"}