You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/08 12:12:20 UTC
[2/9] incubator-ignite git commit: #nodejs: Small fixes in tests.
#nodejs: Small fixes in tests.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/fa50dead
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/fa50dead
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/fa50dead
Branch: refs/heads/ignite-nodejs
Commit: fa50deada732a47d71330d55cbfde2c0c4b1ee4d
Parents: f14c06c
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Jun 8 11:54:11 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Jun 8 11:54:11 2015 +0300
----------------------------------------------------------------------
modules/nodejs/src/test/nodejs/test_put_get.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fa50dead/modules/nodejs/src/test/nodejs/test_put_get.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/nodejs/test_put_get.js b/modules/nodejs/src/test/nodejs/test_put_get.js
index fb59286..3ac64aa 100644
--- a/modules/nodejs/src/test/nodejs/test_put_get.js
+++ b/modules/nodejs/src/test/nodejs/test_put_get.js
@@ -5,7 +5,7 @@ var Server = require(TestUtils.scriptPath() + "server").Server;
testPutGet = function() {
var server = new Server('127.0.0.1', 9090);
var cache = new Cache(server, "mycache");
- cache.put("mykey", "6", onPut.bind(null, cache));
+ cache.put("key", "6", onPut.bind(null, cache));
}
function onPut(cache, error) {
@@ -15,7 +15,7 @@ function onPut(cache, error) {
}
console.log("Put finished");
- cache.get("mykey", onGet);
+ cache.get("key", onGet);
}
function onGet(error, value) {