Skip to content

Commit

Permalink
goldfish: wait-for-device: wait 30sec instead of 10min is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
superguo committed Oct 10, 2023
1 parent fefeb9c commit 7d7710f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/goldfish/goldfish.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func (inst *instance) waitForDevice() error {
return fmt.Errorf("shutdown in progress")
}

if _, err := inst.adbWithTimeout(10*time.Minute, "wait-for-device"); err != nil {
if _, err := inst.adbWithTimeout(30*time.Second, "wait-for-device"); err != nil {
return fmt.Errorf("instance is dead: %w", err)
}

Expand Down

0 comments on commit 7d7710f

Please sign in to comment.