#ignite-964: change test for object put all.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ea50ebba Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ea50ebba Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ea50ebba Branch: refs/heads/ignite-964 Commit: ea50ebbaa16544b1a791b2bef16bdb8e0dd75e0a Parents: bea777f Author: ivasilinets <ivasilin...@gridgain.com> Authored: Tue Jun 30 17:47:53 2015 +0300 Committer: ivasilinets <ivasilin...@gridgain.com> Committed: Tue Jun 30 17:47:53 2015 +0300 ---------------------------------------------------------------------- modules/nodejs/src/test/js/test-cache-api.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea50ebba/modules/nodejs/src/test/js/test-cache-api.js ---------------------------------------------------------------------- diff --git a/modules/nodejs/src/test/js/test-cache-api.js b/modules/nodejs/src/test/js/test-cache-api.js index 515f543..6e660b1 100644 --- a/modules/nodejs/src/test/js/test-cache-api.js +++ b/modules/nodejs/src/test/js/test-cache-api.js @@ -36,12 +36,18 @@ testPutAllGetAll = function() { } testPutAllObjectGetAll = function() { + var params = {} var key1 = {"name" : "Ann"}; var key2 = {"name" : "Paul"}; var val1 = {"age" : 12, "books" : ["1", "Book"]}; var val2 = {"age" : 13, "books" : ["1", "Book"]}; - startTest("mycache", {trace: [putAll, getAll], entry: {key1 : val1, key2 : val2}}); + params["k1"] = key1; + params["k2"] = key2; + params["val1"] = val1; + params["val2"] = val2; + + startTest("mycache", {trace: [putAll, getAll], entry: params}); } testRemoveAll = function() {