UNPKG

node-deadline

Version:

Module to interface with Deadline Compute Management System by Thinkbox Software

22 lines (17 loc) 556 B
/*jshint jasmine: true*/ var settings = require( "../lib/settings" ), mongoUtils = require( "../lib/utils/mongo" ); describe( "connection test for actual deadline server", function() { beforeAll( function() { settings.host = "insert host here"; } ); afterAll( function() { settings.host = null; } ); it( "should be able to get a job from the server", function( done ) { mongoUtils.findOne( settings.dbs.config, "DeadlineSettings", {}, function( err, res ) { expect( err ).toBeFalsy(); done(); } ); } ); } );