summaryrefslogtreecommitdiff
path: root/jstests/aggregation/testall.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-31 22:26:17 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-31 22:26:34 -0500
commite45cb6180280494f97eb5a0a2be32de56bc1644a (patch)
treee06602ba556ade0855e6783edd693a93fc74c0ea /jstests/aggregation/testall.js
parent7cb8cf6c3459bfda29eeae840aee708ceea22ed5 (diff)
downloadmongo-e45cb6180280494f97eb5a0a2be32de56bc1644a.tar.gz
fix 32-bit agg test and Date_t
Diffstat (limited to 'jstests/aggregation/testall.js')
-rw-r--r--jstests/aggregation/testall.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/jstests/aggregation/testall.js b/jstests/aggregation/testall.js
index 05da94ec7ff..45777ae5fa3 100644
--- a/jstests/aggregation/testall.js
+++ b/jstests/aggregation/testall.js
@@ -1103,10 +1103,10 @@ var p19result = [
"hour" : 4,
"dayOfYear" : 220,
"dayOfMonth" : 8,
- "dayOfWeek" : 1,
+ "dayOfWeek" : 5,
"month" : 8,
- "week" : 32,
- "year" : 2100
+ "week" : 31,
+ "year" : 2030
},
{
"_id" : ObjectId("4e14a3f1ffc569a332159c6b"),
@@ -1122,6 +1122,9 @@ var p19result = [
}
];
+printjson( p19.result );
+printjson( p19result );
+
assert(arrayEq(p19.result, p19result), 'p19 failed');