Skip to content

Commit

Permalink
TEST/MALLOC: Skip malloc hook with fork test.
Browse files Browse the repository at this point in the history
malloc hooks can cause data corruption when used from a forket process.
disable the test until the issue is fixed.
  • Loading branch information
yosefe committed Feb 1, 2018
1 parent f4d09d0 commit 15af5ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/gtest/ucm/malloc_hook.cc
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ UCS_TEST_F(malloc_hook, fork) {
std::vector<pid_t> pids;
pid_t pid;

UCS_TEST_SKIP_R("broken");
/* coverity[unreachable] */

for (int i = 0; i < num_processes; ++i) {
pid = fork();
if (pid == 0) {
Expand Down

0 comments on commit 15af5ae

Please sign in to comment.