summaryrefslogtreecommitdiff
path: root/tests/integration/cleanup.rs
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
commitce0dbf6b249956700c6a1705bf4ad85a09d53e8c (patch)
treed7c3236807cfbf75d7f3a355eb5df5a5e2cc4ad7 /tests/integration/cleanup.rs
parent064a1d01c5c14f5ecc032fa9b8346a4a88b893f6 (diff)
feat: witryna 0.2.0HEADv0.2.0main
Switch, cleanup, and status CLI commands. Persistent build state via state.json. Post-deploy hooks on success and failure with WITRYNA_BUILD_STATUS. Dependency diet (axum→tiny_http, clap→argh, tracing→log). Drop built-in rate limiting. Nix flake with NixOS module. Arch Linux PKGBUILD. Centralized version management. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'tests/integration/cleanup.rs')
-rw-r--r--tests/integration/cleanup.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration/cleanup.rs b/tests/integration/cleanup.rs
index e0cc902..a8bc84f 100644
--- a/tests/integration/cleanup.rs
+++ b/tests/integration/cleanup.rs
@@ -31,7 +31,6 @@ async fn old_builds_cleaned_up() {
base_dir: base_dir.clone(),
log_dir: base_dir.join("logs"),
log_level: "debug".to_owned(),
- rate_limit_per_minute: 100,
max_builds_to_keep: 2,
git_timeout: None,
sites: vec![site],
@@ -62,6 +61,8 @@ async fn old_builds_cleaned_up() {
.state
.build_scheduler
.in_progress
+ .lock()
+ .unwrap()
.contains("cleanup-site")
{
break;