[SERVER-9579] Smoke tests should always use --smoke-db-prefix Created: 03/May/13 Updated: 11/Jul/16 Resolved: 29/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sandeep Parikh | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Built a clean copy of 2.4.1 and ran smoke tests using the following:
Seems that if you set --smoke-db-prefix then all tests should honor that (to ease managing permissions, filesystems, etc.) |
| Comments |
| Comment by auto [ 29/Oct/13 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by ning [ 29/Sep/13 ] |
|
this argument is useless. I can't run the cases for my / does not have enough space. |
| Comment by Tad Marshall [ 09/Jun/13 ] |
|
Plus 1. The ToolTest JavaScript helper object hard-codes "/data/db", so even individual tests will ignore --smoke-db-prefix when using tools (mongodump, mongorestore, etc.). |
| Comment by Sandeep Parikh [ 09/May/13 ] |
|
For the sake of completeness, here are the other tests that create files/directories outside of --smoke-db-prefix:
Each of these tests tries to write to /data/db and fails if it can't regardless of the --smoke-db-prefix. |