cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cassandra-node.apache-extras....@codespot.com
Subject [cassandra-node] push by tomaz.muraus - Make testConnectToBadUrl work with v0.6 branch of node.js. Contributed... on 2012-01-09 20:04 GMT
Date Mon, 09 Jan 2012 20:06:59 GMT
Revision: eaf9120382b9
Author:   Tomaz Muraus <tomaz@tomaz.me>
Date:     Mon Jan  9 12:03:36 2012
Log:      Make testConnectToBadUrl work with v0.6 branch of node.js.  
Contributed by
Christoph Tavan <tavan@nemata.com> part of #21.

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=eaf9120382b9

Modified:
  /test/test_driver.js

=======================================
--- /test/test_driver.js	Mon Jan  9 11:57:04 2012
+++ /test/test_driver.js	Mon Jan  9 12:03:36 2012
@@ -214,7 +214,7 @@
  exports.testConnectToBadUrl = function(test, assert) {
    connect({port:19171}, function(err, con) {
      assert.ok(err);
-    assert.strictEqual(err.toString(), 'Error: ECONNREFUSED, Connection  
refused');
+    assert.strictEqual(err.code, 'ECONNREFUSED');
      test.finish();
    });
  };

Mime
View raw message