[CSHARP-115] MapReduce.Duration throws an exception Created: 28/Nov/10 Updated: 02/Apr/15 Resolved: 28/Nov/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 0.9 |
| Fix Version/s: | 0.9 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Robert Schooley | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
I think this is 0.9, I pulled earlier this evening November 28th, 2010. This is trivial, but I noticed the Duration property is throwing an exception: MongoDB.DriverOnlineTests.Jira.CSharpMapReduce.CSharpMapReduceTests.MapReduce: Attached is an integration test reproducing the issue. Also, inside of CommandResult there are two properties:
Not sure if those should be that way. |
| Comments |
| Comment by Robert Stam [ 28/Nov/10 ] |
|
Fixed. CommandResult.Ok is true because the MapReduce command succeeded. CommandResult.ErrorMessage is not relevant because Ok is true (but I've changed ErrorMessage to return null instead when Ok is true to not be misleading). |