aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/BufferTests.cpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-10-03 11:21:18 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-10-03 11:53:34 +0100
commit61d6f7305b02e025ee10aa07e5499993a0e77cc1 (patch)
tree896078c3400939c6eb85fdd6e8d35eb6e66d3fab /src/profiling/test/BufferTests.cpp
parent342a8ba08a67fcbc6f179c32118ca2035002698d (diff)
downloadarmnn-61d6f7305b02e025ee10aa07e5499993a0e77cc1.tar.gz
IVGCVSW-3440 Fix intermittently failing send thread test
* Simplified the implementation of the MockStreamCounterBuffer * Minor refactoring Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3aed97daee0ac32d384e1f830e8cc57aae84950b
Diffstat (limited to 'src/profiling/test/BufferTests.cpp')
-rw-r--r--src/profiling/test/BufferTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/test/BufferTests.cpp b/src/profiling/test/BufferTests.cpp
index b678350bb3..a2f3c30849 100644
--- a/src/profiling/test/BufferTests.cpp
+++ b/src/profiling/test/BufferTests.cpp
@@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(BufferReserveExceedingSpaceTest)
unsigned int reservedSize = 0;
// Cannot reserve buffer bigger than maximum buffer size
- BOOST_CHECK_THROW(bufferManager.Reserve(1024, reservedSize), armnn::RuntimeException);
+ BOOST_CHECK_THROW(bufferManager.Reserve(1024, reservedSize), armnn::InvalidArgumentException);
}
BOOST_AUTO_TEST_CASE(BufferExhaustionTest)