Skip to content

Commit 0da4098

Browse files
committed
[bfops/parallel-smoketests]: debug
1 parent 93ad793 commit 0da4098

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ jobs:
3838
timeout-minutes: 120
3939
env:
4040
# TODO: un-comment this
41-
#CARGO_TARGET_DIR: ${{ github.workspace }}/target
41+
CARGO_TARGET_DIR: ${{ github.workspace }}/target
4242
# Note: clear_database and replication only work in private
4343
SMOKETEST_ARGS: ${{ matrix.smoketest_args }} -x clear_database -x replication -x teams
44+
RUST_LOG: debug
4445
steps:
4546
- name: Find Git ref
4647
env:

tools/ci/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ fn compute_spacetimedb_cli_path() -> Result<PathBuf> {
350350

351351
fn wait_until_http_ready(timeout: Duration, cli_path: &Path, server_url: &str) -> Result<()> {
352352
println!("Waiting for server to start: {server_url}..");
353+
let start = Instant::now();
353354
let deadline = Instant::now() + timeout;
354355

355356
while Instant::now() < deadline {
@@ -362,7 +363,8 @@ fn wait_until_http_ready(timeout: Duration, cli_path: &Path, server_url: &str) -
362363

363364
if let Ok(status) = status {
364365
if status.status.success() {
365-
debug!("Server started: {server_url}");
366+
let elapsed = start.elapsed();
367+
debug!("Server started: {server_url} (in {:.2?})", elapsed);
366368
return Ok(());
367369
}
368370
}

0 commit comments

Comments
 (0)