readme
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· 代码 · 共 43 行
TXT
43 行
Notification Blocking Policy Test
================================
Description
-----------
This test exercises the event blocking policy of the Notification
Service. The Blocking policy is not one of the policies defined in the
Notification Spec. It is a feature requested by CISCO.
A number of events are sent by the supplier. The supplier should begin to
block when the event queue begins to fill. The supplier should then
continue to send events once the consumer catches up on the events that are
sent out.
Usage
-----
The test consists of a Structured_Supplier and Structured_Consumer.
The usage for each as is follows:
$ Structured_Supplier -\?
usage: Structured_Supplier -o <iorfile> -e <# of events> -d
$ Structured_Consumer -\?
usage: Structured_Consumer -k <ior> -e <expected events>
-t <relative blocking timeout seconds>
To run this test, just run the run_test.pl perl script. It will run both
structured and sequence tests with each of the implemented discard policies.
Expected Results
----------------
The consumers of each type expect to only receive a certain number of
events. If you see:
ERROR: too many events received.
then the test has failed. Otherwise, the test was ok.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?