mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user