Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
cassandra-driver / test / integration / short / _infrastructure-tests.js
Size: Mime:
'use strict';
var assert = require('assert');
var helper = require('../../test-helper.js');
var utils = require('../../../lib/utils');

describe('Test infrastructure', function () {
  this.timeout(120000);
  it('should be able to run ccm', function (done) {
    var ccm = new helper.Ccm();
    ccm.exec(['list'], function (err) {
      done(err);
    });
  });
  it('should be able to create and destroy a cluster', function (done) {
    utils.timesSeries(2, function (n, next) {
      var ccm = new helper.Ccm();
      ccm.startAll(2, null, function (err) {
        assert.equal(err, null);
        ccm.remove(next);
      });
    }, done);
  });
});