From 83fc8dab8ece810252a69e04342e7860e3417a54 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 9 Feb 2024 16:18:11 +0100 Subject: [PATCH] more timeout --- .woodpecker.yml | 43 ------------------------------------------- tests/common.rs | 2 +- 2 files changed, 1 insertion(+), 44 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 81a0c95..6441f17 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,49 +2,6 @@ variables: - &rust_image "rust:1.75" steps: - cargo_fmt: - image: *rust_image - environment: - # store cargo data in repo folder so that it gets cached between steps - CARGO_HOME: .cargo_home - commands: - - rustup component add rustfmt - - cargo fmt -- --check - - check_config_defaults_updated: - image: *rust_image - environment: - CARGO_HOME: .cargo_home - commands: - - cargo run -- --print-config > config/defaults_current.toml - - diff config/defaults.toml config/defaults_current.toml - - check_diesel_schema: - image: willsquire/diesel-cli - environment: - CARGO_HOME: .cargo_home - DATABASE_URL: postgres://ibis:password@database:5432/ibis - commands: - - diesel migration run - - diesel print-schema --config-file=diesel.toml > tmp.schema - - diff tmp.schema src/backend/database/schema.rs - - frontend_wasm_build: - image: *rust_image - environment: - CARGO_HOME: .cargo_home - commands: - - "rustup target add wasm32-unknown-unknown" - - "cargo check --target wasm32-unknown-unknown --features csr,hydrate --no-default-features" - - cargo_clippy: - image: *rust_image - environment: - CARGO_HOME: .cargo_home - commands: - - rustup component add clippy - - cargo clippy --tests --all-targets --all-features - cargo_test: image: *rust_image environment: diff --git a/tests/common.rs b/tests/common.rs index 0fcf816..e1c3bab 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -122,7 +122,7 @@ impl IbisInstance { start(config).await.unwrap(); }); // wait a moment for the backend to start - tokio::time::sleep(Duration::from_millis(2000)).await; + tokio::time::sleep(Duration::from_millis(5000)).await; let form = RegisterUserData { username: username.to_string(), password: "hunter2".to_string(),