fullnotequeue-upstream-notifier-01.testie
来自「Click is a modular router toolkit. To us」· TESTIE 代码 · 共 26 行
TESTIE
26 行
%infoTests upstream Notifier functionality -- Ensure that InfiniteSourcedoesn't overflow the queu in front of it, even when that queue is drained slower than it can produce packets.%scriptclick -e "src :: InfiniteSource(<0800>, 2, 1, true, STOP true) -> q :: FullNoteQueue(1)-> count :: Counter() -> unq :: Unqueue-> Discard;ScheduleInfo(unq 1, src 2);DriverManager(wait, read q.drops, read count.count);"%expect stderrq.drops:0count.count:2
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?