mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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
20 lines
668 B
JavaScript
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);
|
|
});
|