Skip to content

Commit

Permalink
make live tests runnable again
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Aug 28, 2024
1 parent be8f9a8 commit 89b7893
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dev-tools/xtask/src/live_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,11 @@ pub fn run_cmd(_args: Args) -> Result<()> {
// TMPDIR=/var/tmp puts stuff on disk, cached as needed, rather than the
// default /tmp which requires that stuff be in-memory. That can lead to
// great sadness if the tests wind up writing a lot of data.
//
// --bound=all is required to cause nextest to *not* ignore these tests,
// since they're not in the default filter set.
let raw = &[
"TMPDIR=/var/tmp ./cargo-nextest nextest run \\",
"TMPDIR=/var/tmp ./cargo-nextest nextest run --bound=all \\",
&format!(
"--archive-file {}/{} \\",
NAME,
Expand Down
2 changes: 1 addition & 1 deletion live-tests/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ To use this:

4. On that system, run tests with:

TMPDIR=/var/tmp ./cargo-nextest nextest run \
TMPDIR=/var/tmp ./cargo-nextest nextest run --bound=all \
--archive-file live-tests-archive/omicron-live-tests.tar.zst \
--workspace-remap live-tests-archive
```
Expand Down

0 comments on commit 89b7893

Please sign in to comment.