Skip to content

Commit

Permalink
bump to 2.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ufoscout committed Sep 27, 2023
1 parent 32dce8c commit e8dafe2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wait"
version = "2.12.0"
version = "2.12.1"
authors = ["ufoscout <[email protected]>"]
edition = "2021"

Expand Down
6 changes: 5 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

docker build -t wait:test -f test.Dockerfile . && docker run --rm wait:test

export WAIT_HOSTS=localhost:4748
#export WAIT_HOSTS=localhost:4748
#export WAIT_PATHS=./target/one
export WAIT_TIMEOUT=10
export WAIT_BEFORE=1
export WAIT_AFTER=2

./target/x86_64-unknown-linux-musl/release/wait && echo 'DOOOOOOONEEEEEE'

export WAIT_COMMAND="echo 'DOOOOOOONEEEEEE WITH WAIT_COMMAND (i.e. does not requrie a shell)'"

./target/x86_64-unknown-linux-musl/release/wait
2 changes: 1 addition & 1 deletion tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn should_sleep_the_specified_time_between_path_checks() {
&mut on_timeout,
);
let elapsed = millis_elapsed(start);
assert!(elapsed >= 2001);
assert!(elapsed >= 2000);
assert!(elapsed < 3000);
}

Expand Down

0 comments on commit e8dafe2

Please sign in to comment.