mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
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:
parent
efdcc8b41e
commit
1c8e73a8f6
@ -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"}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user