mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Separate failing part of "run --once" test into own test.
This commit is contained in:
@@ -174,16 +174,14 @@ selftest.define("run --once", ["yet-unsolved-windows-failure"], function () {
|
||||
run.forbidAll("updated");
|
||||
s.unlink('empty.js');
|
||||
s.write('.meteor/release', originalRelease);
|
||||
});
|
||||
|
||||
// Wait for Mongo to exit after Meteor exits.
|
||||
utils.sleepMs(2000);
|
||||
|
||||
// Try it with a real Mongo. Make sure that it actually starts one.
|
||||
s = new Sandbox;
|
||||
selftest.define("run --once with real Mongo", function () {
|
||||
var s = new Sandbox;
|
||||
s.createApp("onceapp", "once");
|
||||
s.cd("onceapp");
|
||||
s.set("RUN_ONCE_OUTCOME", "mongo");
|
||||
run = s.run("--once");
|
||||
var run = s.run("--once");
|
||||
run.waitSecs(30);
|
||||
run.expectExit(86);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user