Commit Graph

1192 Commits

Author SHA1 Message Date
Jesse Rosenberger
efcc6945ba Update the modules test app to Meteor 1.5.2.2. 2017-10-02 17:47:12 +03:00
Ben Newman
cf45eb0f8c Update the modules test app to Meteor 1.5.2.1. 2017-09-26 12:29:04 -04:00
Ben Newman
cc47ba4a6f Update dynamic-import test app to Meteor 1.5.2.1. 2017-09-25 20:24:49 -04:00
Ben Newman
7fd4fd559b Support .meteorignore files.
Closes https://github.com/meteor/meteor-feature-requests/issues/5.
2017-09-22 08:47:37 -04:00
Ben Newman
069d3dffe7 Additional timeout for duplicate extension compiler plugins test. 2017-09-20 16:33:52 -04:00
Ben Newman
7cbb2bb579 Tolerate : or _ in dynamic version identifiers, and add tests.
Follow-up to #9103.
2017-09-18 12:34:47 -04:00
Ben Newman
e94349937e Update dynamic-import test app to Meteor 1.5.2. 2017-09-11 15:32:39 -04:00
Ben Newman
d6666c96f5 Update modules test app to Meteor 1.5.2. 2017-09-11 15:27:25 -04:00
Ben Newman
31fa502148 Enable transform-do-expressions in production for modules test app. 2017-09-11 15:24:47 -04:00
Hugh Willson
b498c41401 Avoid creating a watcher when --settings is set to a directory (#9030)
As outlined in #3854, if `meteor --settings` points to a
directory instead of a file, an application gets caught up
in an infinite rebuild loop. Since it was assumed only a
file would be configured via `--settings`, a file watcher
is created for the specified directory, and that watcher
is then triggered ad infinitum.

These changes prevent a file watcher from being created
on a `--settings` directory.
2017-08-21 16:25:15 -04:00
Ben Newman
a7e8e27ca7 Move standard-minifiers self-test timeout *after* slow run.match. 2017-08-11 19:36:01 -04:00
Ben Newman
0e723593a6 Merge branch 'devel' into release-1.5.2 2017-08-11 15:23:39 -04:00
Ben Newman
93d0c5f2ba Merge pull request #9007 from meteor/immediately-dirty-optimistic-functions
Immediately dirty optimistic functions when relevant paths modified.
2017-08-11 15:22:49 -04:00
Ben Newman
4dfa9c3ae2 Add METEOR_WATCH_PRIORITIZE_CHANGED=false back to two self-tests. 2017-08-11 15:21:50 -04:00
Ben Newman
837f12c3c4 Add additional timeouts to 'update during run' self-test. 2017-08-11 15:21:50 -04:00
Ben Newman
56aea02723 Stop setting METEOR_WATCH_PRIORITIZE_CHANGED=false in self-tests.
Assuming #9007 fixes the file watcher timing problems, it should no longer
be necessary to disable the optimizations of #8866.
2017-08-11 15:21:50 -04:00
Jesse Rosenberger
5c011253f7 Change "expected" for meteor list command-line test.
This test doesn't actually run normally, as it's quite slow, but
started failing with the changes to #8936.  This fixes that!
2017-08-11 21:17:41 +03:00
Ben Newman
083b184bf6 Merge branch 'devel' into release-1.5.2 2017-08-10 15:01:44 -04:00
Hugh Willson
956d8dba45 Reinstate the mongo-dev-server package (#8853) (#8999) 2017-08-10 14:18:55 -04:00
Ben Newman
004c8d0fe1 Move .babelrc "env" test to imports directory of modules test app. 2017-08-10 13:44:39 -04:00
Ben Newman
2f7d221b91 Merge pull request #8995 from meteor/abernix/selftest-modern-devel
Modernize "Self Test" module, remove Underscore.
2017-08-09 11:10:34 -04:00
Ben Newman
789c0e433e Reinstate .babelrc "env" test, with more reliable NODE_ENV. 2017-08-08 19:33:51 -04:00
Ben Newman
b70449ae4d Remove .babelrc "env" test for now.
This has been failing consistently on Circle CI, so I'm disabling it until
I know how to fix it better: https://circleci.com/gh/meteor/meteor/5068
2017-08-08 19:19:19 -04:00
Ben Newman
cfdc69bf71 Support @~ version constraints and use them for core packages. (#8991) 2017-08-08 18:01:30 -04:00
Ben Newman
6de5c25fed Enable transform-do-expressions in production for modules test app.
The modules test app appears to be running with process.env.NODE_ENV equal
to "production" on Circle CI: https://circleci.com/gh/meteor/meteor/5030.

Enabling this transform in production as well as development is fine
because we primarily want to test that plugins from the "env" section of
.babelrc are respected, regardless of the value of process.env.NODE_ENV.
Using different plugins in production might be worth testing, too, but
that's less critical.

Follow-up to #8963.
2017-08-07 16:19:09 -04:00
Ben Newman
12efaef31a Merge branch 'devel' into release-1.5.2 2017-08-07 14:55:50 -04:00
Hugh Willson
b1fd243978 Reduce the "modules - test app" self-test start-up wait time.
The increased mongo connection timeout in 522d86dc4e
means that the we can decrease the "modules - test app" self-test
application start-up wait internval significantly (since mongo
will now start properly and the self-test can continue).
2017-08-07 14:53:37 -04:00
Jordan Brant Baker
77ecbabf60 Support "env" in .babelrc files. (#8963) 2017-08-07 13:23:56 -04:00
Jesse Rosenberger
b1bed468a4 Just use processes' execFileSync directly, not via self-test re-export. 2017-08-07 18:53:22 +03:00
Ben Newman
22e86ce208 Add timeout to static-html test. 2017-08-03 21:19:44 -04:00
Ben Newman
c0b918c0fc Merge branch 'devel' into release-1.5.2 2017-08-02 15:44:31 -04:00
Hugh Willson
a7aa0175f6 Swap 2 self-test's to get CircleCI tests to pass. 2017-08-02 15:33:15 -04:00
Jesse Rosenberger
f0548ad50d Merge branch 'devel' into release-1.5.2 2017-08-02 22:31:14 +03:00
Ben Newman
94c0cd00cd Merge pull request #8951 from meteor/abernix/clear-password-on-retry
Clear credentials before retry on initial `meteor deploy` password failure.
2017-08-02 08:42:33 -07:00
Ben Newman
868ba7ceff Merge branch 'devel' into release-1.5.2 2017-07-28 18:50:20 -04:00
Hugh Willson
aedd111cbd Increase "modules - test app" self-test wait time to fix Circle (#8948)
* Increase "modules - test app" self-test wait time to fix Circle failures.

* Increase "modules - test app" self-test wait time further.
2017-07-27 16:48:53 +03:00
Simon Fridlund
a1c2eefb1e Add mongo-dev-server package (#8853)
* Add mongo-dev-server package

Only start the MongoDB server if this package
is present in the project.

* Small layout/formatting adjustments; updated README.

* Allow tests using fake-mongod to start (fake) Mongo.

* Adjust test stdout matching to be less sensitive to ordering.

* Add `mongo-dev-server` History.md entry.

* Remove mongo start check since the tested for error prevents mongo startup.

* Remove README traling whitespace.

* Bump mongo package version.
2017-07-26 20:08:12 +03:00
Simon Fridlund
4d37a05fb3 Add mongo-dev-server package (#8853)
* Add mongo-dev-server package

Only start the MongoDB server if this package
is present in the project.

* Small layout/formatting adjustments; updated README.

* Allow tests using fake-mongod to start (fake) Mongo.

* Adjust test stdout matching to be less sensitive to ordering.

* Add `mongo-dev-server` History.md entry.

* Remove mongo start check since the tested for error prevents mongo startup.

* Remove README traling whitespace.

* Bump mongo package version.
2017-07-26 18:08:00 +03:00
Ben Newman
2129c33200 Merge branch 'devel' into release-1.5.2 2017-07-21 18:37:37 -04:00
Seba Kerckhof
b52c6587d7 Handle regular expressions in EJSON (#8821)
* Handle regular expressions in EJSON

* Adjust "checkout" self-test wait time to fix failing self-test's.

* Adjusting self-test "checkout" timeout further.

* Self-test exit timeout adjustments for the CLI "argument parsing" tests.
2017-07-21 13:45:38 -04:00
Hugh Willson
41b4383349 Adjust self-test match / timeout settings to help reduce Circle test failures (#8933)
* Fix CircleCI failures by adjusting the timing of problematic tests.

* Wait longer for Mongo to start.

* Increase lint wait time; run logs show we're close to the current timeout.
2017-07-21 09:24:20 -04:00
Hugh Willson
01378df2a0 Adjust test-packages --test-app-path to create the directory if missing (#8923)
* Adjust test-packages --test-app-path to create the directory if missing.

* Slight style tweak.
2017-07-20 10:21:56 -04:00
Ben Newman
765330d883 Update the dynamic-import test app to Meteor 1.5.1. 2017-07-20 10:21:55 -04:00
Ben Newman
3090ac7282 Update the modules test app to Meteor 1.5.1. 2017-07-20 10:21:54 -04:00
Ben Newman
23eeac122f Update the dynamic-import test app to Meteor 1.5.1. 2017-07-17 20:02:50 -04:00
Ben Newman
d0e0411f68 Update the modules test app to Meteor 1.5.1. 2017-07-17 19:58:56 -04:00
Jesse Rosenberger
3f66a85c46 [test] Ensure Galaxy deploy login works properly.
This implements a non-`galaxy` labeled test (which will run with normal
CI tests) which tests that Galaxy login both fails and succeeds properly
much in the same way that our existing auth tests run except for the
`meteor deploy` command.
2017-07-14 00:27:47 -07:00
Ben Newman
692602ac46 Set METEOR_WATCH_PRIORITIZE_CHANGED to "false" in "update during run" self-test. 2017-07-10 22:11:33 -04:00
Ben Newman
a5fe404876 Add additional timeouts to "update during run" self-test. 2017-07-10 15:22:51 -04:00
Ben Newman
86eedd4bc6 Make METEOR_WATCH_PRIORITIZE_CHANGED opt-out instead of opt-in.
This restores the behavior of 8c70716954 by
default, with the option of disabling the prioritized file watching system
by setting METEOR_WATCH_PRIORITIZE_CHANGED explicitly to "false".

The self-tests where the environment variable is explicitly set form a
nice to-do list of tests that should be improved to be more robust to cope
with differences in file watcher timing.

Helps with #8648 and similar issues.
2017-07-10 12:31:11 -04:00