From bf331276f680917797b0f5feb5f73f48389650f7 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Tue, 28 May 2024 20:04:08 -0400 Subject: [PATCH] fix: dotenv test is flaky (#1340) * fix: dotenv test is flaky fixes: #1335 This is currently blocking CI and failing on main. Given that clap handles ensuring that CLI args have higher priority than ENV vars, this test is more of a sanity check so it could also just be removed. * fix: add ttl to example contracts * fix: add back md-gen and update docs --- cmd/crates/soroban-test/tests/it/integration/dotenv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crates/soroban-test/tests/it/integration/dotenv.rs b/cmd/crates/soroban-test/tests/it/integration/dotenv.rs index dff36dfe7..b8e76d1fc 100644 --- a/cmd/crates/soroban-test/tests/it/integration/dotenv.rs +++ b/cmd/crates/soroban-test/tests/it/integration/dotenv.rs @@ -49,7 +49,7 @@ async fn current_env_not_overwritten() { #[tokio::test] async fn cli_args_have_priority() { let e = &TestEnv::new(); - std::thread::sleep(core::time::Duration::from_millis(2000)); + std::thread::sleep(core::time::Duration::from_millis(6000)); let id = deploy_hello(e).await; write_env_file(e, &id); e.new_assert_cmd("contract")