Skip to content

Commit

Permalink
fix: dotenv test is flaky (#1340)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
willemneal authored May 29, 2024
1 parent 639be30 commit bf33127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crates/soroban-test/tests/it/integration/dotenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bf33127

Please sign in to comment.