Commit Graph

852 Commits

Author SHA1 Message Date
David Glasser
42ddda33b5 Remove unused require from main 2014-01-30 20:47:31 -05:00
David Glasser
c26a5e13b8 Sort of explain why an error shouldn't happen 2014-01-30 20:31:40 -05:00
David Glasser
5323dbef3f Use utils.randomToken in meteor-npm.js 2014-01-30 20:23:58 -05:00
David Glasser
00a3dbeb5d Remove unused cp_r preserveMode option
I had originally created a commit which let preserveMode reuse the
return value of the fs.statSync a few lines up in the file, but since
the code is dead, there was no way to test it. Removing the dead code
seemed like a better approach.  (If you want to revert this commit, I
recommend reusing the stat buffer!)
2014-01-30 20:17:18 -05:00
David Glasser
f5f42e96d5 Restore a comment I found helpful. 2014-01-30 20:12:22 -05:00
David Glasser
fb84f4c48b (Some dots do go inside parens.) 2014-01-30 16:54:14 -08:00
David Glasser
46482f51fb typo fix 2014-01-30 16:47:00 -08:00
David Glasser
57095409fb More concrete explanation of markBottom vs markTop 2014-01-30 16:46:28 -08:00
David Glasser
5ca01e736a drop unused nonstandard require 2014-01-30 16:13:14 -08:00
David Glasser
6f7a6d82c7 remove recursive require 2014-01-30 11:39:19 -08:00
David Glasser
736cac2e42 Fix stack trace on 'asdf --version', etc 2014-01-30 11:30:55 -08:00
David Glasser
ed72f1807e tidiness 2014-01-30 11:10:59 -08:00
David Glasser
b42a29f628 Fix misunderstanding of kexec arguments 2014-01-30 11:02:04 -08:00
David Glasser
a49e7def5e Merge branch 'sso' into tool-refactoring
Conflicts:
	tools/meteor.js
	tools/run.js
2014-01-30 10:49:29 -08:00
Emily Stark
36ff205437 Merge remote-tracking branch 'origin/devel' into sso 2014-01-30 10:18:42 -08:00
David Glasser
a3b7213247 Clean up #1774 2014-01-29 14:39:35 -08:00
Marc-Andre Lafortune
5cfe47e1f6 Document 'where' parameter for packages 2014-01-29 14:39:35 -08:00
Geoff Schmidt
b7d84a93e7 Fix cli-test for new port scheme. 2014-01-29 03:35:11 -08:00
Geoff Schmidt
e1994f6ece First installment of 'meteor run' tests.
Tests meteor --once and restarting on upgrade.
2014-01-29 02:02:17 -08:00
Geoff Schmidt
377d940ba0 fake-mongod, a stub mongod for automated testing 2014-01-28 19:36:04 -08:00
Geoff Schmidt
fd5073888a Rename 'self tests' directory to 'tests' 2014-01-28 16:00:46 -08:00
David Glasser
3104ddb6e5 Style change to skel to match shark. 2014-01-27 14:17:31 -08:00
David Glasser
8f4963ecd2 Use new exec 2014-01-27 13:52:54 -08:00
Geoff Schmidt
cdc894a0aa finish bringing all old tool tests under the 'meteor self-test' umbrella 2014-01-27 07:02:38 -08:00
Geoff Schmidt
b26ccb914e port some old tests - WIP 2014-01-27 06:02:01 -08:00
Geoff Schmidt
b3a113e699 port some old tests - WIP 2014-01-27 05:22:01 -08:00
Geoff Schmidt
83183a98d0 remove unused, bitrotted engine transition test hook 2014-01-27 02:34:53 -08:00
Geoff Schmidt
5f7393b3a4 Autoupdater tests! They pass. 2014-01-27 02:31:39 -08:00
Geoff Schmidt
32f2791942 Test springboarding errors/edge cases. 2014-01-27 01:13:18 -08:00
Geoff Schmidt
8c4d68ee28 double-check that we're springboarding 2014-01-27 00:08:36 -08:00
Geoff Schmidt
35c208b5b9 Tags group tests. 2014-01-26 22:27:15 -08:00
Geoff Schmidt
170861a358 better handling for apps in self-test sandbox 2014-01-26 21:08:59 -08:00
Geoff Schmidt
89d778a622 Hey cool! A springboarding test! 2014-01-26 20:48:20 -08:00
Geoff Schmidt
c53e85d333 warehouse sandboxing - WIP 2014-01-26 20:15:34 -08:00
Geoff Schmidt
ba37c7df71 one more command line parser test 2014-01-26 17:40:27 -08:00
Geoff Schmidt
abc007f58c Test to make sure that certain strings don't appear in the output 2014-01-24 02:11:45 -08:00
Geoff Schmidt
b460fe8029 Replace optimist. All tests pass. 2014-01-23 23:33:28 -08:00
Geoff Schmidt
826a035c1f Command-line option parser tests.
Finds an optimist problem.
2014-01-23 20:57:50 -08:00
Geoff Schmidt
bb7369314b Test harness improvements:
- sandboxes can specify an app template
- show both stdout and stderr output on any failure
2014-01-23 20:02:35 -08:00
Geoff Schmidt
a88ee7f84d 'meteor --help' gives top level help, not run help 2014-01-23 18:16:19 -08:00
David Glasser
97ec2d3948 Update to newer http-proxy API
Take out workaround that's been incorporated into the branch we're using
2014-01-23 14:40:21 -08:00
David Glasser
a7d10d650d Update Node to 0.10.25. Remove bug workaround. 2014-01-23 12:15:29 -08:00
Naomi Seyfer
87074a7389 Improve comment and var names 2014-01-23 11:22:27 -08:00
Geoff Schmidt
539024c771 option to run only changed tests 2014-01-22 15:23:19 -08:00
Naomi Seyfer
4e85255a38 Switch to active detection of wrong css files, detection of *no* css files, to cause a reload 2014-01-22 14:59:19 -08:00
Geoff Schmidt
abb54f7ec0 move tests into separate files 2014-01-22 14:15:24 -08:00
Geoff Schmidt
0c69701a32 sandbox tests. for now, just the .meteorsession file. 2014-01-22 02:54:10 -08:00
David Glasser
16b23ecb38 Close proxy/server websockets on client errors
Previously, certain errors on the client/proxy socket would result in
the proxy keeping the websocket to the server open forever rather than
closing it.  For example, disconnecting the client from the internet
without a graceful shutdown. This could easily be reproduced with any
app using `facts`, eg https://github.com/tarangp/test-observers.
Run the app, connect locally with one browser, connect from a second
computer, observe sessions going to 2, disconnect the second computer.
With this commit, sessions will go back to 1 in about a minute. Without
it, it never will.

This particular fix is not very compelling, since it uses undocumented
features of the stream interface. I will file an issue with the
node-http-proxy project tonight asking how we're supposed to do this.

This addresses #1769.  I'll close that once we have a more compelling
fix, and once the similar bug is fixed in the proxies used in the
`meteor deploy` server and in Galaxy.
2014-01-21 18:17:08 -08:00
Geoff Schmidt
ac52f0eaf4 test harness: support exact match 2014-01-20 17:44:47 -08:00
Geoff Schmidt
01e211fc05 Ignore old dont-fetch-latest flag 2014-01-20 17:44:16 -08:00