Skip to content

Commit

Permalink
server-send: tests: check that moving keys to itself doesn't permitted
Browse files Browse the repository at this point in the history
  • Loading branch information
abudnik committed Dec 24, 2015
1 parent a93cc63 commit a5cd821
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/server_send.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,13 @@ static bool ssend_register_tests(test_suite *suite, node &n)
tests::create_session(n, {*g}, 0, 0), num, id_prefix, data_prefix);
}

// the fith stage - check that moving keys to itself doesn't permitted
iflags = DNET_IFLAGS_MOVE;
id_prefix = "server_send self write test";
data_prefix = "server_send self write data";
ELLIPTICS_TEST_CASE(ssend_test_insert_many_keys, src, num, id_prefix, data_prefix);
ELLIPTICS_TEST_CASE(ssend_test_copy, src, ssend_src_groups, 0, iflags, 0);

return true;
}

Expand Down

0 comments on commit a5cd821

Please sign in to comment.