Skip to content

Commit e8dafe2

Browse files
committed
bump to 2.12.1
1 parent 32dce8c commit e8dafe2

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

Cargo.lock

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wait"
3-
version = "2.12.0"
3+
version = "2.12.1"
44
authors = ["ufoscout <[email protected]>"]
55
edition = "2021"
66

test.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

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

5-
export WAIT_HOSTS=localhost:4748
5+
#export WAIT_HOSTS=localhost:4748
66
#export WAIT_PATHS=./target/one
77
export WAIT_TIMEOUT=10
88
export WAIT_BEFORE=1
99
export WAIT_AFTER=2
1010

1111
./target/x86_64-unknown-linux-musl/release/wait && echo 'DOOOOOOONEEEEEE'
12+
13+
export WAIT_COMMAND="echo 'DOOOOOOONEEEEEE WITH WAIT_COMMAND (i.e. does not requrie a shell)'"
14+
15+
./target/x86_64-unknown-linux-musl/release/wait

tests/integration_test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn should_sleep_the_specified_time_between_path_checks() {
8888
&mut on_timeout,
8989
);
9090
let elapsed = millis_elapsed(start);
91-
assert!(elapsed >= 2001);
91+
assert!(elapsed >= 2000);
9292
assert!(elapsed < 3000);
9393
}
9494

0 commit comments

Comments
 (0)