-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jackson-databind): update version (pr to 3.1.x) (#288)
* fix(jackson-databind): update version * chore: update changelog * travis(ci): use our own emulator wait script * more helpful output while waiting for emulator * force trusty
- Loading branch information
1 parent
ba00a81
commit 2168973
Showing
10 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# Originally written by Ralf Kistner <[email protected]>, but placed in the public domain | ||
|
||
set +e | ||
|
||
bootanim="" | ||
failcounter=0 | ||
#timeout_in_sec=360 # 6 minutes | ||
timeout_in_sec=900 # 15 minutes | ||
echo "Waiting for emulator to start" | ||
until [[ "$bootanim" =~ "stopped" ]]; do | ||
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &` | ||
#echo bootanim=\`$bootanim\` | ||
if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline" | ||
|| "$bootanim" =~ "running" || "$bootanim" =~ "error: no emulators found" ]]; then | ||
let "failcounter += 5" | ||
echo -n "." | ||
if [[ $failcounter -gt timeout_in_sec ]]; then | ||
echo "Timeout ($timeout_in_sec seconds) reached; failed to start emulator" | ||
exit 1 | ||
fi | ||
else | ||
if [[ ! "$bootanim" =~ "stopped" ]]; then | ||
echo "unexpected behavior from (adb -e shell getprop init.svc.bootanim): $bootanim" | ||
exit 1 | ||
fi | ||
fi | ||
sleep 5 | ||
done | ||
|
||
echo "Emulator is ready (took $failcounter seconds)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters