Revert "Adds timeout as an option to Sandbox.createApp"

This reverts commit dc2b2ca1
This commit is contained in:
filipenevola
2021-01-14 16:04:19 -04:00
parent dc2b2ca1e1
commit e41276fd52
2 changed files with 3 additions and 4 deletions

View File

@@ -35,8 +35,7 @@ selftest.define("'meteor update' alters constraints in `.meteor/packages`", () =
});
s.createApp("myapp", "very-simple-app-with-no-package-constraints", {
release: DEFAULT_RELEASE_TRACK + '@v1',
timeout: 300,
release: DEFAULT_RELEASE_TRACK + '@v1'
});
s.cd("myapp");

View File

@@ -83,7 +83,7 @@ export default class Sandbox {
this.warehouse = files.pathJoin(this.root, 'tropohouse');
this._makeWarehouse(this.options.warehouse);
}
const meteorScript = process.platform === "win32" ? "meteor.bat" : "meteor";
// Figure out the 'meteor' to run
@@ -211,7 +211,7 @@ export default class Sandbox {
// multiple calls to createApp with the same template get the same cache?
// This is a little tricky because isopack-buildinfo.json uses absolute
// paths.
run.waitSecs(options.timeout || 120);
run.waitSecs(120);
run.expectExit(0);
});
}