Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing executeonX tests for Map. #2

Closed
wants to merge 1 commit into from

Conversation

ihsandemir
Copy link
Collaborator

Tests per https://github.com/hazelcast/cpp-client/issues/112 .
executeOnKey and executeOnEntries tests for Map are added.

@ihsandemir ihsandemir self-assigned this Oct 27, 2015
@ihsandemir ihsandemir added this to the 3.6 milestone Oct 27, 2015
@@ -666,19 +666,19 @@ namespace hazelcast {
* Notice that map EntryProcessor runs on the nodes. Because of that, same class should be implemented in java side
* with same classId and factoryId.
*
* @tparam EntryProcessor type of entry processor class
* @tparam ResultType that entry processor will return
* @param EntryProcessor type of entry processor class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tparam stands for template parameter, doxygen interpertes these two differently and produces different output. These should stay as tparam.

@sancar
Copy link
Contributor

sancar commented Oct 28, 2015

One minor comment.
👍 Looks good.

@ihsandemir
Copy link
Collaborator Author

#11 includes this test and the implementation.

@ihsandemir ihsandemir closed this Dec 10, 2015
@ihsandemir ihsandemir deleted the executeOnXTests branch February 5, 2016 09:39
ihsandemir referenced this pull request in ihsandemir/hazelcast-cpp-client Nov 27, 2018
… failure:

```
02:18:17 clientTest_SHARED_64: /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703: typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]: Assertion `px != 0' failed.
02:18:17 testLinuxSingleCase.sh: line 67:  4719 Aborted                 (core dumped)
...

02:18:21 Thread 1 (Thread 0x7f523b652800 (LWP 4719)):
02:18:21 #0  0x00007f52390d15e5 in raise () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #1  0x00007f52390d2dc5 in abort () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #2  0x00007f52390ca70e in __assert_fail_base () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 hazelcast#3  0x00007f52390ca7d0 in __assert_fail () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 hazelcast#4  0x0000000000ccbcd9 in boost::shared_ptr<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator* (this=0x7ffca392d4f0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703
02:18:21         __PRETTY_FUNCTION__ = "typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]"
02:18:22 hazelcast#5  0x0000000000fe7212 in hazelcast::client::test::ClientMapTest_testPutConfigTtl_Test<hazelcast::client::test::NearCachedDataMapClientConfig>::TestBody (this=0x4117ca0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/hazelcast/test/src/map/ClientMapTest.cpp:709
```
ihsandemir referenced this pull request in ihsandemir/hazelcast-cpp-client Dec 3, 2018
…mes caused test failures:

```
02:18:17 clientTest_SHARED_64: /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703: typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]: Assertion `px != 0' failed.
02:18:17 testLinuxSingleCase.sh: line 67:  4719 Aborted                 (core dumped)
...

02:18:21 Thread 1 (Thread 0x7f523b652800 (LWP 4719)):
02:18:21 #0  0x00007f52390d15e5 in raise () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #1  0x00007f52390d2dc5 in abort () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #2  0x00007f52390ca70e in __assert_fail_base () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 hazelcast#3  0x00007f52390ca7d0 in __assert_fail () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 hazelcast#4  0x0000000000ccbcd9 in boost::shared_ptr<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator* (this=0x7ffca392d4f0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703
02:18:21         __PRETTY_FUNCTION__ = "typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]"
02:18:22 hazelcast#5  0x0000000000fe7212 in hazelcast::client::test::ClientMapTest_testPutConfigTtl_Test<hazelcast::client::test::NearCachedDataMapClientConfig>::TestBody (this=0x4117ca0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/hazelcast/test/src/map/ClientMapTest.cpp:709
```
ihsandemir added a commit that referenced this pull request Dec 3, 2018
* Make testPutConfigTtl less time sensitive. The current version sometimes caused test failures:
```
02:18:17 clientTest_SHARED_64: /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703: typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]: Assertion `px != 0' failed.
02:18:17 testLinuxSingleCase.sh: line 67:  4719 Aborted                 (core dumped)
...

02:18:21 Thread 1 (Thread 0x7f523b652800 (LWP 4719)):
02:18:21 #0  0x00007f52390d15e5 in raise () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #1  0x00007f52390d2dc5 in abort () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #2  0x00007f52390ca70e in __assert_fail_base () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #3  0x00007f52390ca7d0 in __assert_fail () from /lib64/libc.so.6
02:18:21 No symbol table info available.
02:18:21 #4  0x0000000000ccbcd9 in boost::shared_ptr<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator* (this=0x7ffca392d4f0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/external/include/boost/smart_ptr/shared_ptr.hpp:703
02:18:21         __PRETTY_FUNCTION__ = "typename boost::detail::sp_dereference<T>::type boost::shared_ptr<T>::operator*() const [with T = std::string]"
02:18:22 #5  0x0000000000fe7212 in hazelcast::client::test::ClientMapTest_testPutConfigTtl_Test<hazelcast::client::test::NearCachedDataMapClientConfig>::TestBody (this=0x4117ca0) at /home/jenkins/jenkins/workspace/cpp-linux-nightly-64-SHARED-Debug/hazelcast/test/src/map/ClientMapTest.cpp:709
```

* Fixed missing type usages in template method calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants