[CSHARP-513] MongoDatabaseTests.TestGetProfilingInfo fails with InvalidOperationException when run against 2.1.2 Created: 29/Jun/12 Updated: 20/Mar/14 Resolved: 22/Jul/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Latest sources against mongodb 2.1.2. The same test succeeds against 2.0.6 |
||
| Description |
|
MongoDB.DriverUnitTests.MongoDatabaseTests.TestGetProfilingInfo: The stack trace is at MongoDB.Bson.IO.BsonReader.ThrowInvalidState(String methodName, BsonReaderState[] validStates) in C:\source\mongo-csharp-driver\Bson\IO\BsonReader.cs:line 745 |
| Comments |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-21T13:29:01-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-21T09:37:41-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-21T06:06:00-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-21T05:58:00-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-20T19:11:47-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-20T18:42:36-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by auto [ 21/Jul/12 ] |
|
Author: {u'date': u'2012-07-20T11:51:55-07:00', u'email': u'craiggwilson@gmail.com', u'name': u'Craig Wilson'}Message: |
| Comment by Robert Stam [ 01/Jul/12 ] |
|
I pushed the missing SkipValue to master. So in version 1.5 the new fields added by server 2.2 are ignored. We are postponing to 1.6 adding support for the new fields. |
| Comment by auto [ 01/Jul/12 ] |
|
Author: {u'date': u'2012-06-30T20:48:02-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |
| Comment by Sridhar Nanjundeswaran [ 29/Jun/12 ] |
|
Note : This works fine with 2.1.1 also |
| Comment by Sridhar Nanjundeswaran [ 29/Jun/12 ] |
|
The 2.0.6 profile entry is , The 2.1.2 profile entry is , , }, MongoDB.Driver.SystemProfileInfoSerializer does not account for numYield and lockStateMillis |