mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
bug 466947 - Sisyphus - retry profile creation on failure.
This commit is contained in:
parent
d1d81caf63
commit
0549ead97f
@ -121,11 +121,16 @@ fi
|
||||
|
||||
echo "creating profile $profilename in directory $directory"
|
||||
|
||||
if ! $TEST_DIR/bin/timed_run.py ${TEST_STARTUP_TIMEOUT} "-" \
|
||||
tries=1
|
||||
while ! $TEST_DIR/bin/timed_run.py ${TEST_STARTUP_TIMEOUT} "-" \
|
||||
$EXECUTABLE_DRIVER \
|
||||
$executable -CreateProfile "$profilename $directoryospath"; then
|
||||
error "creating profile $directory" $LINENO
|
||||
fi
|
||||
$executable -CreateProfile "$profilename $directoryospath"; do
|
||||
let tries=tries+1
|
||||
if [ "$tries" -gt $TEST_STARTUP_TRIES ]; then
|
||||
error "Failed to create profile $directory Exiting..." $LINENO
|
||||
fi
|
||||
sleep 30
|
||||
done
|
||||
|
||||
if [[ -n $profiletemplate ]]; then
|
||||
if [[ ! -d $profiletemplate ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user