Skip to content

Commit

Permalink
Use TEST_OUTPUT envvar in pageserver (#5984)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanserafimov authored Dec 1, 2023
1 parent e49c21a commit fd81945
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pageserver/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,8 @@ impl PageServerConf {

#[cfg(test)]
pub fn test_repo_dir(test_name: &str) -> Utf8PathBuf {
Utf8PathBuf::from(format!("../tmp_check/test_{test_name}"))
let test_output_dir = std::env::var("TEST_OUTPUT").unwrap_or("../tmp_check".into());
Utf8PathBuf::from(format!("{test_output_dir}/test_{test_name}"))
}

pub fn dummy_conf(repo_dir: Utf8PathBuf) -> Self {
Expand Down

1 comment on commit fd81945

@github-actions
Copy link

@github-actions github-actions bot commented on fd81945 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2498 tests run: 2392 passed, 0 failed, 106 skipped (full report)


Flaky tests (4)

Postgres 16

  • test_forward_compatibility: release
  • test_ondemand_download_timetravel[local_fs]: debug
  • test_fixture_restart: release

Postgres 15

Code coverage (full report)

  • functions: 54.5% (9284 of 17026 functions)
  • lines: 82.0% (53918 of 65762 lines)

The comment gets automatically updated with the latest test results
fd81945 at 2023-12-01T16:32:24.373Z :recycle:

Please sign in to comment.