mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Adds timeout as an option to Sandbox.createApp
This commit is contained in:
@@ -35,7 +35,8 @@ selftest.define("'meteor update' alters constraints in `.meteor/packages`", () =
|
|||||||
});
|
});
|
||||||
|
|
||||||
s.createApp("myapp", "very-simple-app-with-no-package-constraints", {
|
s.createApp("myapp", "very-simple-app-with-no-package-constraints", {
|
||||||
release: DEFAULT_RELEASE_TRACK + '@v1'
|
release: DEFAULT_RELEASE_TRACK + '@v1',
|
||||||
|
timeout: 300,
|
||||||
});
|
});
|
||||||
s.cd("myapp");
|
s.cd("myapp");
|
||||||
|
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ export default class Sandbox {
|
|||||||
// multiple calls to createApp with the same template get the same cache?
|
// multiple calls to createApp with the same template get the same cache?
|
||||||
// This is a little tricky because isopack-buildinfo.json uses absolute
|
// This is a little tricky because isopack-buildinfo.json uses absolute
|
||||||
// paths.
|
// paths.
|
||||||
run.waitSecs(120);
|
run.waitSecs(options.timeout || 120);
|
||||||
run.expectExit(0);
|
run.expectExit(0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user