Commit Graph

1043 Commits

Author SHA1 Message Date
Ben Newman
dd3fe9a264 Add additional delay to "run: run" test. 2016-09-29 16:03:18 -04:00
Ben Newman
5b2e08a80c Automatically reconfigure Mongo replication set when --port differs.
Fixes #7563.
2016-09-29 09:48:55 -04:00
Ben Newman
20a6604126 Remove pointless and exception-swallowing assert.doesNotThrow wrappers. 2016-09-29 08:51:57 -04:00
Ben Newman
f8ba1226b1 Rename test entry point module so that it isn't ignored. 2016-09-29 08:51:56 -04:00
Jesse Rosenberger
cba649f709 Add Newlines to end of .gitignore files, specifically the new app skel
Even though I think the fight is a bit futile, it is considered best practice to have newlines at the end of all files.  At the request of meteor/meteor#7786, this commit adds newlines to the end of the new app skeleton `.gitignore` file.  These skel files are used when generating new meteor apps so this avoids perpetuation of this problem into futrue generations. ;)

In an effort to beef up this PR, I also took the liberty of fixing the few other Meteor files which were lacking newlines (all `.gitignore` files)

Closes meteor/meteor#7786
2016-09-26 15:32:08 +03:00
Ben Newman
9810562403 Test that one package can have both node_modules and Npm.depends. 2016-09-22 14:34:32 -04:00
Tom Coleman
74cf7b3b6e Not sure why these weird version numbers were in there
Previously didn't cause a problem because `static-html` was a core pkg
2016-08-29 11:38:45 +10:00
Ben Newman
88db65c837 Update modules test app to Meteor 1.4.1. 2016-08-18 17:31:21 -04:00
Ben Newman
61012963a5 Fix test description to say --all-packages instead of --update-all. 2016-08-17 14:53:28 -04:00
Tom Coleman
2290911723 Added meteor update --all-packages to update indirect dependencies
See #7495. Still some decisions to be made:

 - Should we make --all-packages the default?
 - How should we deal with *new* indirect dependencies?
 - Should we do anything about underpinning indirect dependencies when updating?
2016-08-17 14:53:27 -04:00
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00
Ben Newman
a1c3516053 Use pure-JavaScript implementation for npm-bcrypt package. (#7595)
According to the README, this implementation is approximately 2.7 times
slower than native: https://www.npmjs.com/package/bcryptjs

Apps that wish to continue using the native bcrypt package should run
`meteor npm install --save bcrypt` in the root application directory, and
the npm-bcrypt package will prefer that implementation.
2016-08-09 16:42:41 -04:00
Ben Newman
44cf6bbe4d Add some basic self-tests of meteor shell.
Related to #7504.
2016-08-03 15:56:34 -04:00
Ben Newman
08f14ef1a2 Add a basic app template for testing meteor shell. 2016-08-03 15:56:34 -04:00
Tom Coleman
7769951ee8 Switched to concat-stream for performance 2016-08-01 17:55:37 +10:00
Ben Newman
59942fd275 Update modules test app to Meteor 1.4. 2016-07-25 14:47:53 -04:00
Ben Newman
918f9bddad Merge branch 'devel' into release-1.4 2016-07-20 14:03:47 -04:00
Ben Newman
dc28c29985 Update modules test app to Meteor 1.3.5.1. 2016-07-18 20:11:52 -04:00
Ben Newman
00c05facde Merge branch 'devel' into release-1.4 2016-07-18 14:52:14 -04:00
Ben Newman
e85cef8e1a Make download resumption test faster and more deterministic.
We now use a smaller file (the `babel-compiler` archive instead of
`meteor-tool`), and we interrupt every 500kB, which leads to three total
interruptions for that file. Also, we only delay one second (instead of
five) between attempts.
2016-07-14 17:00:08 -04:00
Ben Newman
91f203999b Make download resumption test always run (and pass).
This is a test that really needs to run and pass every time we run the
test suite, so I decided it shouldn't be --slow. If it takes too long, we
can always download a smaller test file.

Hard-coding the download length was a recipe for brittleness, so now I'm
downloading the file without interruptions in parallel with the
interrupted/resumed download, so that we can compare the two files when
both have finished downloading.

Follow-up to #7399.
2016-07-14 16:05:35 -04:00
Ben Newman
7a530f79f6 Increase more test timeouts for robustness' sake. 2016-07-14 14:52:41 -04:00
Ben Newman
f0e3522b3c Make autoupdate self-test more robust. 2016-07-14 13:53:53 -04:00
Ben Newman
fbfb5b84e2 Avoid exposing httpHelpers._currentRequest.
Follow-up to #7399.
2016-07-14 11:47:32 -04:00
Tom Coleman
2cb3462b6d Minor fixes + added a comment 2016-07-14 11:47:32 -04:00
Tom Coleman
36011459fa Made the test work in a sensible way 2016-07-14 11:47:31 -04:00
Tom Coleman
cc07c15b6b First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-14 11:47:30 -04:00
Ben Newman
82dae55ef0 Avoid exposing httpHelpers._currentRequest.
Follow-up to #7399.
2016-07-14 10:39:10 -04:00
Tom Coleman
6fe6875dd2 Minor fixes + added a comment 2016-07-14 16:30:18 +10:00
Tom Coleman
eeba73eba0 Made the test work in a sensible way 2016-07-14 14:01:53 +10:00
Tom Coleman
756fb597c6 First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-13 17:50:41 +10:00
Ben Newman
586af3482c Merge branch 'devel' into release-1.4 2016-07-10 15:50:03 -04:00
Ben Newman
74aea0ca3c Update modules test app to Meteor 1.3.4.4. 2016-07-10 15:26:06 -04:00
Ben Newman
c54686126e Merge branch 'devel' into release-1.4 2016-07-09 15:07:52 -04:00
Ben Newman
126b9172c7 Update modules test app to Meteor 1.3.4.3. 2016-07-08 22:07:05 -04:00
Tom Coleman
e9666f2aa0 Remove "running" check from autoupdate test
The issue was the order of the two matches kept changing due to ..?.. (various factors I guess).
2016-06-29 14:14:09 -04:00
Tom Coleman
d2d1455f40 Updated meteor create to write package versions 2016-06-29 14:14:09 -04:00
Tom Coleman
add36ae322 Added test to check *updating* constraints 2016-06-29 14:14:09 -04:00
Tom Coleman
7519c6b547 Updated update test to work properly 2016-06-29 14:14:08 -04:00
Tom Coleman
63f1311630 First version of release constraint unpinning
For #7004. Still working on the self test but it appears to work :)
2016-06-29 14:14:08 -04:00
Ben Newman
2dfb450408 Merge branch 'devel' into release-1.4 2016-06-29 10:16:05 -04:00
Gabriel Rubens
cbb9e219d7 Include test for App.appendToConfig 2016-06-29 09:18:12 +10:00
Fabricio Nascimento
52ae06c771 Fix get master name on test 2016-06-24 12:15:28 -04:00
Fabricio Nascimento
7aa58f3ee5 Fix MasterDocDetection 2016-06-24 12:15:28 -04:00
Tom Coleman
25b7d3f585 Update mongo tests to check for 3.2 2016-06-24 12:15:26 -04:00
Ben Newman
ec5d15f131 Fix exit code for source maps test. 2016-06-24 12:15:22 -04:00
Ben Newman
dce2b20ddb Merge pull request #7033 from meteor/release-1.3.3
Release 1.3.3
2016-06-10 18:18:28 -04:00
Ben Newman
b907fea4c4 Update modules test app to use the official Meteor 1.3.3 release. 2016-06-10 17:21:30 -04:00
Ben Newman
eea8612834 Update modules test app to 1.3.3-rc.5. 2016-06-09 13:20:20 -04:00
Ben Newman
5ae53de46b Warn but do not crash when .babelrc dependencies unmet. 2016-06-06 19:55:22 -04:00