This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 2be9703 GEODE-3136: Fixes unit test exception assertion.
2be9703 is described below
commit 2be9703fb43aed5a16bf49fdaea730351df2c874
Author: Jacob Barrett <[email protected]>
AuthorDate: Sat Nov 11 00:14:00 2017 -0800
GEODE-3136: Fixes unit test exception assertion.
---
cppcache/test/util/chrono/durationTest.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cppcache/test/util/chrono/durationTest.cpp
b/cppcache/test/util/chrono/durationTest.cpp
index 25e7773..9565a85 100644
--- a/cppcache/test/util/chrono/durationTest.cpp
+++ b/cppcache/test/util/chrono/durationTest.cpp
@@ -80,16 +80,16 @@ TEST(util_chrono_durationTest, assert_bounds) {
ASSERT_NO_THROW(protocolTimeoutLimit(std::chrono::milliseconds(2147483647)));
ASSERT_THROW(protocolTimeoutLimit(std::chrono::milliseconds(2147483648)),
- std::invalid_argument);
+ apache::geode::client::IllegalArgumentException);
ASSERT_THROW(protocolTimeoutLimit(std::chrono::hours(2400)),
- std::invalid_argument);
+ apache::geode::client::IllegalArgumentException);
ASSERT_NO_THROW(protocolTimeoutLimit(std::chrono::milliseconds(0)));
ASSERT_THROW(protocolTimeoutLimit(std::chrono::milliseconds(-2)),
- std::invalid_argument);
+ apache::geode::client::IllegalArgumentException);
ASSERT_THROW(protocolTimeoutLimit(std::chrono::hours(-2400)),
- std::invalid_argument);
+ apache::geode::client::IllegalArgumentException);
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].