[GODRIVER-768] documentation example test failing Created: 15/Jan/19 Updated: 28/Oct/23 Resolved: 12/Feb/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Susan Kerschbaumer (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I get this error when running the docs examples test ~/go/examples $ go test — FAIL: TestDocumentationExamples (0.77s) Error Trace: examples.go:1119 examples_test.go:33 Error: Received unexpected error: argument to Decode must be a pointer to a type, but got bson.Document{} FAIL exit status 1 FAIL _/Users/skersch/go/examples 0.780s
Note that these tests were run with context.TODO() in lieu of context.Background()
|
| Comments |
| Comment by Githook User [ 12/Feb/19 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@10gen.com', 'username': 'iwysiu'}Message: Update Makefile to run examples and fix bugs in examples Change-Id: Ie8bd245045eda0ed7bc7baadeef533f6aceacc3b |
| Comment by Githook User [ 31/Jan/19 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Update Makefile to run examples and fix bugs in examples. Change-Id: I6bc92ef60fbc24d6224c40a99e24bc8cd9240107 |