[SERVER-28267] Resmoke should have a flag to copy files to a tempdir before running Created: 09/Mar/17 Updated: 06/Dec/22 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | features we're not sure of |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mathias Stearn | Assignee: | Backlog - Server Tooling and Methods (STM) (Inactive) |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | stm, tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Tooling & Methods
|
| Participants: |
| Description |
|
It would be nice if resmoke could copy the files that matter for testing to a temp directory (lets say inside of either build or /data/db) before running the tests and deleting them after. This would let developers switch branches and carry on with other work while resmoke runs. It probably needs to copy the full jstests tree and at least a few of the binaries. Ideally, for large files (>10M?) it would try to hardlink first and fall back to a full copy if that fails (eg different file systems). |
| Comments |
| Comment by Max Hirschhorn [ 21/Mar/17 ] |
|
I'm hesitant to make resmoke.py aware of jstests/ directory and informally what binaries are required by what suites. I think one way to proceed on this ticket would be to create a wrapper script that uses git clone or git worktree underneath. |
| Comment by Andrew Morrow (Inactive) [ 14/Mar/17 ] |
|
Here is another suggestion: just use git worktrees. |