Files
meteor/tools/tests/constraint-solver.js
David Glasser 7e80ad2ddf don't run constraint solver tests by default
they use 30 seconds of CPU which makes the web server sad

they are run if you set $CONSTRAINT_SOLVER_BENCHMARK which is done by a
--slow self-test though
2014-06-12 16:53:16 -07:00

20 lines
668 B
JavaScript

var selftest = require('../selftest.js');
var Sandbox = selftest.Sandbox;
var files = require('../files.js');
var _= require('underscore');
// Add packages to an app. Change the contents of the packages and their
// dependencies, make sure that the app still refreshes.
selftest.define('constraint solver benchmark', ['slow'], function () {
var s = new Sandbox();
s.set('CONSTRAINT_SOLVER_BENCHMARK', 't');
var run = s.run("test-packages",
"--driver-package=test-server-tests-in-console-once",
"--once",
"constraint-solver");
run.waitSecs(60*4);
run.match("ALL TESTS PASSED");
run.expectExit(0);
});