minor update

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/496dd649
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/496dd649
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/496dd649

Branch: refs/heads/ignite-7777
Commit: 496dd649c1958325ddb21298f54cc650eb435467
Parents: 671af04
Author: ekaterina-nbl <[email protected]>
Authored: Sat May 19 12:17:44 2018 +0300
Committer: ekaterina-nbl <[email protected]>
Committed: Sat May 19 12:17:44 2018 +0300

----------------------------------------------------------------------
 modules/platforms/nodejs/spec/TestingHelper.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/496dd649/modules/platforms/nodejs/spec/TestingHelper.js
----------------------------------------------------------------------
diff --git a/modules/platforms/nodejs/spec/TestingHelper.js 
b/modules/platforms/nodejs/spec/TestingHelper.js
index b8e5003..79a5336 100644
--- a/modules/platforms/nodejs/spec/TestingHelper.js
+++ b/modules/platforms/nodejs/spec/TestingHelper.js
@@ -245,7 +245,9 @@ class TestingHelper {
     }
 
     static printValue(value) {
-        return Util.inspect(value, false, null);
+        const val = Util.inspect(value, false, null);
+        const length = 500;
+        return val.length > length ? val.substr(0, length) + '...' : val;
     }
 
     static async compare(value1, value2) {

Reply via email to