Ignore Exception between expected marker logs.
Change-Id: I3b7f155e3e9598a2c1de6484605e3f09c70e14dd
diff --git a/tools/test/scenarios/log-mark.xml b/tools/test/scenarios/log-mark.xml
new file mode 100644
index 0000000..384a8468
--- /dev/null
+++ b/tools/test/scenarios/log-mark.xml
@@ -0,0 +1,31 @@
+<!--
+ ~ Copyright 2017-present Open Networking Laboratory
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<scenario name="log-mark" description="leave a mark on ONOS log">
+
+ <group name="ExpectExceptionMarkBegin">
+ <parallel var="${OC#}">
+ <step name="EXPECTING_EXCEPTION_BEGIN-${#}"
+ exec="onos ${OC#} mark EXPECTING_EXCEPTION_BEGIN"/>
+ </parallel>
+ </group>
+
+ <group name="ExpectExceptionMarkEnd">
+ <parallel var="${OC#}">
+ <step name="EXPECTING_EXCEPTION_END-${#}"
+ exec="onos ${OC#} mark EXPECTING_EXCEPTION_END"/>
+ </parallel>
+ </group>
+</scenario>