[SERVER-8936] TestParsingOverflow unit test failing Created: 11/Mar/13  Updated: 11/Jul/16  Resolved: 14/Mar/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-8958 Replace strtod/strtol/atoi/atol/etc c... Closed
Operating System: ALL
Participants:

 Description   

http://buildlogs.mongodb.org/Linux%20RHEL%2032-bit/builds/1356/test/core/parse_number_test

Mon Mar 11 14:54:26.569 [UNKNOWN] FAIL: TestParsingOverflow	Expected ErrorCodes::FailedToParse == parseNumberFromString("1e-309", &d) (FailedToParse == OK ) @src/mongo/base/parse_number_test.cpp:254



 Comments   
Comment by auto [ 14/Mar/13 ]

Author:

{u'date': u'2013-03-14T17:03:39Z', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-8936 use proper macro name for Solaris
Branch: master
https://github.com/mongodb/mongo/commit/e82e93e4fee859dc020e7c5391db5a37e62a9c7a

Comment by Eric Milkie [ 14/Mar/13 ]

Solaris still failing.

Comment by auto [ 14/Mar/13 ]

Author:

{u'date': u'2013-03-14T14:56:02Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8936 Do not test parsing hexadecimal floating point on Solaris; not supported.
Branch: master
https://github.com/mongodb/mongo/commit/cb7e10a27b58b860880d9fd38c3d1bd2000bbe83

Comment by Eric Milkie [ 13/Mar/13 ]

Solaris still failing this test.

Comment by auto [ 12/Mar/13 ]

Author:

{u'date': u'2013-03-12T14:32:33Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8936 Improved Windows support of parseNumberFromString<double>().

Separately parse +/-infinity and nan, which Windows strtod does not handle.

When testing on Windows, do not test parsing hexadecimal floating point representations,
which Windows strtod does not support.

Reenable the parse_number_test.
Branch: master
https://github.com/mongodb/mongo/commit/8f1376eb01cbcf6435ed2b69f30ae662a64757a2

Comment by auto [ 11/Mar/13 ]

Author:

{u'date': u'2013-03-11T23:21:55Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8936 Temporarily disable parse_number_test unit test.
Branch: master
https://github.com/mongodb/mongo/commit/78da859fa541a4c580aa958cf1a67ba61db82dcf

Comment by auto [ 11/Mar/13 ]

Author:

{u'date': u'2013-03-11T22:08:05Z', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-8936 Fix parse_number_test on RHEL5 32-bit and Windows.

For RHEL5 32-bit, use a number much closer to 0 for underflow testing.

For 32-bit Windows, switch to mongo::isNaN and mongo::isInf.
Branch: master
https://github.com/mongodb/mongo/commit/f74df614474b545732e285836c4caa2be92507c2

Generated at Thu Feb 08 03:18:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.