summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-07-25 12:14:10 -0400
committerMathias Stearn <mathias@10gen.com>2013-07-25 12:14:10 -0400
commitdfc0b15b259553f1bb528c1a65fec2bffec152cf (patch)
treec4020b31088e5f67b41cd3b576734118e2aea4f4 /src
parentaff08928fef26148d401ab66f6e597378b212a26 (diff)
downloadmongo-dfc0b15b259553f1bb528c1a65fec2bffec152cf.tar.gz
Fix SERVER-10332 for Andy
Diffstat (limited to 'src')
-rw-r--r--src/mongo/util/time_support_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/time_support_test.cpp b/src/mongo/util/time_support_test.cpp
index 9121240508b..c459c124645 100644
--- a/src/mongo/util/time_support_test.cpp
+++ b/src/mongo/util/time_support_test.cpp
@@ -48,7 +48,8 @@ namespace {
TEST(TimeFormatting, TimeTAsISO8601Zulu) {
ASSERT_EQUALS(std::string("1970-01-01T00:00:00Z"), timeToISOString(0));
ASSERT_EQUALS(std::string("1970-06-30T01:06:40Z"), timeToISOString(15556000));
- ASSERT_EQUALS(std::string("2058-02-20T18:29:11Z"), timeToISOString(2781455351));
+ if (!isTimeTSmall)
+ ASSERT_EQUALS(std::string("2058-02-20T18:29:11Z"), timeToISOString(2781455351LL));
ASSERT_EQUALS(std::string("2013-02-20T18:29:11Z"), timeToISOString(1361384951));
}