[SERVER-5922] Write test for SERVER-5844 Created: 24/May/12 Updated: 22/Feb/18 Resolved: 22/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.1.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
The current test framework does not have a good way of testing the bug for |
| Comments |
| Comment by Gregory McKeon (Inactive) [ 22/Feb/18 ] |
|
renctan does this still exist? If not, can you close? |
| Comment by Randolph Tan [ 24/May/12 ] |
|
Since the spider monkey binding for the cursor only exposes next, objsLeftInBatch and hasNext, there is no way to test The attached cluster_setup.js and pytest.py are ad hoc test scripts that can be used to test the bug. To run the test, execute cluster_setup.js first then pytest.py after the moveChunk cmd result prints out. The pytest.py should not throw an exception. |