diff options
author | Siri Hansen <[email protected]> | 2013-07-09 14:38:35 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-07-09 14:38:35 +0200 |
commit | 2762ff6ffadbc9100d3dc79ffdbdfb3286e0ba25 (patch) | |
tree | f7cb4009f7029c27e05ce5b5176695cb6ff873b3 /lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl | |
parent | 5c6ffdaab0ca5792a22a74f4e900b47a5bdd8cd7 (diff) | |
parent | 38b37419d7a35cb3d5950f9365d59f6a8b4f2304 (diff) | |
download | otp-2762ff6ffadbc9100d3dc79ffdbdfb3286e0ba25.tar.gz otp-2762ff6ffadbc9100d3dc79ffdbdfb3286e0ba25.tar.bz2 otp-2762ff6ffadbc9100d3dc79ffdbdfb3286e0ba25.zip |
Merge branch 'siri/ct_netconfc/multiple-filter-notification/OTP-11166' into maint
* siri/ct_netconfc/multiple-filter-notification/OTP-11166:
[ct_netconfc] Allow multiple elements inside filter in create_subscription
Diffstat (limited to 'lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl')
-rw-r--r-- | lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl index 0535eb924b..6ee7fdd6f6 100644 --- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl +++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl @@ -886,6 +886,19 @@ create_subscription(Config) -> ?NS:expect_do_reply('close-session',close,ok), ?ok = ct_netconfc:close_session(Client8), + %% Multiple filters + {ok,Client9} = open_success(DataDir), + ?NS:expect_reply({'create-subscription',[stream,filter]},ok), + MultiFilters = [{event,[{xmlns,"http://my.namespaces.com/event"}], + [{eventClass,["fault"]}, + {severity,["critical"]}]}, + {event,[{xmlns,"http://my.namespaces.com/event"}], + [{eventClass,["fault"]}, + {severity,["major"]}]}], + ?ok = ct_netconfc:create_subscription(Client9,MultiFilters), + ?NS:expect_do_reply('close-session',close,ok), + ?ok = ct_netconfc:close_session(Client9), + ok. receive_event(Config) -> |