[SERVER-4244] replsethostnametrim.js works because of a race condition Created: 10/Nov/11 Updated: 11/Jul/16 Resolved: 15/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
It is not testing what it's supposed to be, I think. Try applying this patch and the test fails: — a/jstests/replsets/replsethostnametrim.js ); -var master = replTest.nodes[0]; It is only working because reconfig returns 0 if the set isn't ready yet. |
| Comments |
| Comment by auto [ 15/Nov/11 ] |
|
Author: {u'login': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |
| Comment by Kristina Chodorow (Inactive) [ 15/Nov/11 ] |
|
http://buildbot.mongodb.org/builders/Linux%2064-bit%20debug%20dur%20off/builds/424/steps/test_1/logs/stdio |
| Comment by auto [ 14/Nov/11 ] |
|
Author: {u'login': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |