diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d29aeec6c..1f47704ca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: rust-cache: true - name: Cargo Build - run: cross build --target x86_64-unknown-linux-musl --workspace --release --all-targets --features openssl/vendored + run: cross build --target x86_64-unknown-linux-musl --release --features openssl/vendored env: CARGO_INCREMENTAL: 0 BUILD_SPIN_EXAMPLES: 0 @@ -113,7 +113,7 @@ jobs: rust-cache: true - name: Cargo Build - run: cross build --target aarch64-unknown-linux-musl --workspace --release --all-targets --features openssl/vendored + run: cross build --target aarch64-unknown-linux-musl --release --features openssl/vendored env: CARGO_INCREMENTAL: 0 BUILD_SPIN_EXAMPLES: 0 diff --git a/tests/runtime-tests/src/lib.rs b/tests/runtime-tests/src/lib.rs index 1339f289f..c5e46076e 100644 --- a/tests/runtime-tests/src/lib.rs +++ b/tests/runtime-tests/src/lib.rs @@ -246,7 +246,7 @@ impl Spin { stderr, port, }; - for _ in 0..40 { + for _ in 0..80 { match std::net::TcpStream::connect(format!("127.0.0.1:{port}")) { Ok(_) => return Ok(spin), Err(e) => { @@ -267,7 +267,7 @@ impl Spin { std::thread::sleep(std::time::Duration::from_millis(250)); } anyhow::bail!( - "`spin up` did not start server or error after 10 seconds. stderr:\n\t{}", + "`spin up` did not start server or error after 20 seconds. stderr:\n\t{}", spin.stderr.output_as_str().unwrap_or("") ) }