Commit Graph

277 Commits

Author SHA1 Message Date
David Glasser
cd57ac3535 isolate different servers' packages
also, in self-test, only set $METEOR_PACKAGE_SERVER_URL for the specific
runs that actually want the test server (using a tag) rather than kinda
always by accident
2014-07-28 20:45:08 -07:00
David Glasser
381956d40b make a test failure not abort the whole self-test 2014-07-28 17:37:20 -07:00
Matthew Arbesfeld
b8ae210d9b Add documentation 2014-07-28 17:12:26 -07:00
Matthew Arbesfeld
55fe8a8aae Fix hot code push client-side reloads.
We were overwriting the server directory when a client-side file changed,
which made all process calls fail, such as process.cwd() and fs.*. We
abstracted out some of the builder code so that only the client targets
are "rebuilt" when a client side file changes.
2014-07-28 17:12:26 -07:00
ekatek
3aff2199cc fixing old cli test 2014-07-28 16:09:19 -07:00
David Glasser
5b69c7c25b fix report-stats test from release 2014-07-28 16:07:42 -07:00
David Glasser
b7fa7e2452 don't run constraint-solver test from release 2014-07-28 16:07:41 -07:00
Emily Stark
9e65038d08 Update "old cli test" for new 'meteor remove' output 2014-07-28 10:46:15 -07:00
ekatek
a58f2c3bb2 mark some mroe tests as net with comments; first pass on making it ... exit, instead of craash in ensureDeps. Next up, maybe it can do something better than process.exit 2014-07-25 15:34:54 -07:00
ekatek
c622fb4072 label online tests as online 2014-07-25 14:40:43 -07:00
Avital Oliver
a8e372221d Correct comment 2014-07-24 23:35:01 -07:00
ekatek
83ac27f9c4 A separate data.json for each package server 2014-07-24 18:36:15 -07:00
ekatek
af8c532411 Fix add-package test with new output. 2014-07-24 18:35:05 -07:00
David Glasser
4428f2b06d sync tests passes 2014-07-24 17:12:14 -07:00
David Glasser
a548efe175 ignore unknown packages in .meteor/versions
Hopefully this isn't ignoring real error cases. The whole
previousSolution data-rewriting hack probably needs to be fixed
anyway. But this seems to work?
2014-07-24 15:26:55 -07:00
ekatek
4205a06ba2 add exact constraints 2014-07-24 15:13:47 -07:00
ekatek
335dc4a312 mark tests as online, refresh catalog to the right server after self-test 2014-07-24 15:13:46 -07:00
Avital Oliver
a6db03f131 Unbreak hot code push test by eliminating references to non-existent spacebars-common package 2014-07-23 20:27:35 -07:00
Avital Oliver
a533f1ed5d When calling versionsFrom with no track, default to METEOR-CORE
Also a small restructuring I thought I'd need for this test, but ended
up not needing. But it's nice anyways.
2014-07-23 20:25:50 -07:00
ekatek
5ff34557a1 calculate versions earlier to be wary of race conditions 2014-07-23 16:36:18 -07:00
Avital Oliver
67c47a9086 A test now correctly uses a non-existent but correctly named release 2014-07-23 13:56:37 -07:00
Emily Stark
1e83c64183 Add test for 61bf03c (get all pages back from updateServerPackageData) 2014-07-23 12:40:51 -07:00
Emily Stark
0f0c7b1709 Add some expectExits to "sync local catalog" test 2014-07-23 00:04:17 -07:00
ekatek
1e1f4b2e8a catalogs talk to each other 2014-07-22 18:40:25 -07:00
Emily Stark
cbc12117a6 Fix pipe/grep for missing package in old cli test 2014-07-22 17:37:53 -07:00
Emily Stark
c1a5443ba7 Two small steps towards getting "old cli tests (warehouse)" to run 2014-07-22 17:14:02 -07:00
Emily Stark
eb70a7c299 Make old cli test pass.
We might want to revisit this after polishing error messages.

Still doesn't pass with METEOR_WAREHOUSE_DIR set from self-test.
2014-07-22 14:24:17 -07:00
Emily Stark
5918a51fef Don't send package stats on bundle.
Send them only on 'run' (which is likely to be running for a long time,
giving us plenty of time to send stats) and 'deploy' (which has to go
over the network anyway), though we don't wait for stats to be sent
before exiting from any commands.

Update stats self-test to run apps instead of bundling them. Add an
environment variable to print some output about when package stats have
been sent for the test to know when it's okay to stop the 'meteor run'
process.
2014-07-21 18:00:22 -07:00
David Glasser
9dbc64ef06 test versions file updates from devel merge 2014-07-21 16:46:04 -07:00
David Glasser
ab804499ca fix hot code push test to create directories
presumably this was previously tested on a checkout where
tools/tests/apps/hot-code-push-test/client existed, but git doesn't know
how to check in empty directories.  (another alternative would be to
check in a dummy file in that directory)
2014-07-21 16:38:39 -07:00
David Glasser
996d347139 Merge branch 'devel' into packaging
Conflicts:
	docs/client/api.html
	docs/client/concepts.html
	docs/client/introduction.html
	meteor
	packages/html-tools/package.js
	packages/spacebars-common/package.js
	packages/webapp/webapp_server.js
	tools/bundler.js
2014-07-21 16:18:25 -07:00
ekatek
3b4c9098a9 test for sync 2014-07-21 14:05:45 -07:00
ekatek
b33422fe83 comment 2014-07-17 19:36:23 -07:00
ekatek
e404e2eb95 aha! This is the test that fails that unearths the weird downloading bit 2014-07-17 16:45:20 -07:00
ekatek
8bb675c0b6 cleaning up some tests to run from release 2014-07-17 15:41:39 -07:00
ekatek
0a64950d6a oops, adding a test file from a few tests ago 2014-07-17 15:41:39 -07:00
ekatek
cf1d45fa82 indicate in meteor list when new versions are available 2014-07-15 17:19:08 -07:00
ekatek
abfc8961a3 test for showing new versions in list, cp method in sandbox 2014-07-15 16:57:37 -07:00
ekatek
b4e3947aa6 on hot code push, remember to re-read local package sources 2014-07-15 10:51:58 -07:00
ekatek
9dcc364723 test for adding new dependencies to a package mid-stream 2014-07-15 10:23:33 -07:00
ekatek
e4a40e2971 only run selftest warehouse from checkout 2014-07-15 10:13:26 -07:00
ekatek
f1ba1bad3d selftest now runs from release, but probably fails on a lot of tests 2014-07-14 18:20:05 -07:00
ekatek
127e1f5a79 fix the update with --release behavior 2014-07-14 17:50:22 -07:00
ekatek
ec142b369d begin tests for version file writing 2014-07-11 17:02:17 -07:00
ekatek
8f4ee123ae fixing update tests 2014-07-10 18:12:47 -07:00
ekatek
9d7609f6a9 hack hack hack hack the warehouse into pretending to know about s-a-p etc 2014-07-10 15:09:33 -07:00
Avital Oliver
015e505ec9 Move a test into the right directory 2014-07-09 15:54:56 -07:00
Matthew Arbesfeld
0fc0fce64a Fix Avi's comments. 2014-07-09 10:53:21 -07:00
Matthew Arbesfeld
ee0b9eea51 Update tests 2014-07-09 10:31:44 -07:00
Matthew Arbesfeld
4b88e70629 Fix client css insert 2014-07-09 10:31:44 -07:00