Merge pull request #9467 from meteor/abernix/fix-test-versioning-hot-code-push

Define Sandbox `clients` when running `versioning hot code push test`.
This commit is contained in:
Jesse Rosenberger
2017-12-13 17:38:31 +02:00
committed by GitHub

View File

@@ -98,21 +98,22 @@ jquery`);
});
selftest.define("versioning hot code push", function (options) {
var s = new Sandbox();
var s = new Sandbox({
clients: options.clients,
});
s.set("AUTOUPDATE_VERSION", "1.0");
s.createApp("myapp", "hot-code-push-test");
s.cd("myapp");
s.testWithAllClients(function (run) {
run.baseTimeout = 20;
run.match("myapp");
run.match("proxy");
run.match("MongoDB");
run.match("running at");
run.match("localhost");
run.connectClient();
run.waitSecs(20);
run.waitSecs(40);
run.match("client connected: 0");