Commit Graph

218 Commits

Author SHA1 Message Date
David Glasser
94aab913f1 self-test now passes 2014-06-26 17:32:17 -07:00
Emily Stark
881381479b bump a test timeout 2014-06-25 22:24:59 -07:00
Emily Stark
ecff10c23e 'springboard' selftest passes. 2014-06-25 22:16:55 -07:00
Emily Stark
382be78710 'update during run' passes.
It looks like tools trees now always have a dev_bundle/ directory
instead of bin/, include/ etc. at the top level. Someone correct me if
I'm wrong.
2014-06-25 17:33:55 -07:00
Emily Stark
6ce6a3ec3f bump a test timeout 2014-06-25 11:31:17 -07:00
Emily Stark
3036b6b686 Use EJSON.equals in selftest.expectEqual 2014-06-25 11:12:12 -07:00
Emily Stark
1a3fd67496 Add 'clientAddress' to package stats meta test.
Currently fails because 'meteor deploy' sites don't have
HTTP_FORWARDED_COUNT set. I think the right way to fix this is to have
the runner set it.
2014-06-25 11:12:12 -07:00
Emily Stark
e8b1fddc4e Do a 'meteor run' in report-stats test.
It tests that stats get sent on 'meteor run', and also is faster than
bundling.
2014-06-25 11:12:12 -07:00
Emily Stark
01b73cafce Remove obsolete XXX 2014-06-25 11:12:12 -07:00
Emily Stark
f761e898c8 Record session id on package stats 2014-06-25 11:12:12 -07:00
Emily Stark
e4ecda9fe8 Fix direct dependency reporting.
And test for it.
2014-06-25 11:12:12 -07:00
Emily Stark
e1d4140f35 Add a selftest.fail() reason 2014-06-25 11:12:12 -07:00
Emily Stark
4b58ba4d99 A steaming pile of hacks to get report-stats test passing. 2014-06-25 11:12:12 -07:00
Emily Stark
6f92768559 Add hostname/meteor release/os to package stats 2014-06-25 11:12:12 -07:00
Emily Stark
4a50235014 Add simple 'meteor bundle' selftest 2014-06-24 16:49:19 -07:00
Emily Stark
efc81f242e Also test that we do print description when it exists. 2014-06-24 16:30:25 -07:00
Emily Stark
c2ccbd5f8b Don't print weird things when packages have no descriptions. 2014-06-24 16:25:41 -07:00
David Glasser
5a85e2f24c Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/tests/login.js
	tools/unipackage.js
2014-06-23 14:48:21 -07:00
David Glasser
f52c975de1 Less greedy algorithm for choosing builds
The previous algorithm had the problem that if you had builds

  A = browser+os.linux.x86_64
  B = browser+os.osx.x86_64

available and came in looking for "something that satisfies 'browser'
and 'os.osx.x86_64'", Meteor would happily say:

   "Neato-keen!  'A' satisfies 'browser'.  And 'B' satisfies
    'os.osx.x86_64'!  Hey, that's all I needed!  Let's download
     both 'A' and 'B'!  Hooray!"

when choosing just 'B' would have been good enough.
2014-06-20 18:12:40 -07:00
David Glasser
b4bb435cce fix self-test help 2014-06-17 15:28:19 -07:00
David Glasser
2e5adc2659 fix autoupdate test
also fixes a bunch of other stuff like:

- parseStack markTop works again (so you get the right line numbers in
  self-test)

- you can (with appropriate env var) run apps with NO PACKAGES at
  all (even ctl)

- more consistently refer to METEOR-CORE@ releases as "Meteor 1.2.3"
2014-06-17 14:26:29 -07:00
David Glasser
d083f4aaf6 change --offline-catalog to $OFFLINE_CATALOG 2014-06-17 09:40:59 -07:00
Emily Stark
b0f5ce0991 Fix package stats test 2014-06-16 21:35:42 -07:00
Emily Stark
7336bf901b bump some self-test timeouts 2014-06-16 18:15:38 -07:00
ekatek
d2aadf4e54 now we have search! 2014-06-13 18:01:18 -07:00
ekatek
3b16031844 pass some more tests 2014-06-13 17:39:36 -07:00
ekatek
d2ed5ab48d add packages self-test 2014-06-13 16:28:37 -07:00
David Glasser
7e80ad2ddf don't run constraint solver tests by default
they use 30 seconds of CPU which makes the web server sad

they are run if you set $CONSTRAINT_SOLVER_BENCHMARK which is done by a
--slow self-test though
2014-06-12 16:53:16 -07:00
David Glasser
553af3515b bundler-npm passes
well, most of the time. the final parallelism test fails a lot, but i
think it's due to the fundamental raciness of renameDirAlmostAtomically.
2014-06-10 22:05:52 -07:00
David Glasser
d422da3584 bundler-options passes 2014-06-10 19:25:38 -07:00
David Glasser
6d3257909d test-bundler-assets passes 2014-06-10 19:13:48 -07:00
David Glasser
471cc487e6 Merge branch 'packaging' into unified-version-files
Conflicts:
	tools/stats.js
2014-06-03 15:14:56 -07:00
ekatek
1cf0655da4 Bundler should not take appDir and loader as arguments anymore 2014-05-30 18:32:49 -07:00
Emily Stark
f8a1d52a33 Add 'slow' tag to report-stats test 2014-05-28 20:58:27 -07:00
ekatek
dd3b1605f9 tests 2014-05-28 19:05:27 -07:00
ekatek
2ddc63e538 project safeToUse to solve infinite loops in tests 2014-05-28 18:16:12 -07:00
ekatek
5ebbbdbc63 merging packaging into uvf 2014-05-28 13:26:48 -07:00
ekatek
d176828d2a minor bug cleanup to make tests pass 2014-05-27 16:50:16 -07:00
ekatek
5f8b1be152 split catalog in two 2014-05-27 12:17:57 -07:00
ekatek
209fa3a59b reload project when restarting app in development mode 2014-05-25 19:13:15 -07:00
ekatek
7339d0e33f minor bug cleanup to make tests pass 2014-05-21 12:38:17 -07:00
David Glasser
52e74df7b1 Default orderKey algorithm 2014-05-19 16:10:23 -07:00
Emily Stark
67352e18d4 Remove unnecessary sandbox env var 2014-05-13 15:24:44 -07:00
Emily Stark
9e3d6fc5cf Merge branch 'package-stats' into packaging
Conflicts:
	tools/commands.js
2014-05-13 13:43:48 -07:00
Emily Stark
573ef7489f Set test package stats server in environment variable 2014-05-13 11:58:31 -07:00
David Glasser
e4000c6808 Merge branch 'devel' into packaging
Conflicts (around utils.quotemeta):
	tools/packages.js
	tools/utils.js
2014-05-12 17:06:11 -07:00
Avital Oliver
6696e2751e Respond to Emily's code review comments 2014-05-12 16:45:49 -07:00
Avital Oliver
a51b4697ae Test that userId is recorded when sending package stats. 2014-05-12 16:24:36 -07:00
Emily Stark
4bb7bb8161 Fix stats reporting test date 2014-05-12 11:02:39 -07:00
Avital Oliver
14f6570d73 WIP: Failing test for reporting stats on 'meteor bundle' 2014-05-09 11:25:42 -07:00