#!/usr/bin/expect -f

set timeout -1
spawn docker run homebridge-pc-volume-e2e
expect {
    "ERROR LOADING PLUGIN" {exit 1}
    "Homebridge is running"
}

#!/usr/bin/expect -f

 # 10 minutes
set timeout 600
spawn docker run homebridge-pc-volume-e2e
expect {
    "ERROR LOADING PLUGIN" {exit 1}
    "Homebridge is running"
}

Add timeout to expect script
Add timeout to expect script
