mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Looks like the DB needs ready: false on device absence or plugged in devices show up as immediately available. That's a bug, will need to investigate later.
This commit is contained in:
parent
2ec03798a4
commit
11a042d0aa
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ dbapi.unsetDeviceOwner = function(serial) {
|
|||
dbapi.setDeviceAbsent = function(serial) {
|
||||
return db.run(r.table('devices').get(serial).update({
|
||||
present: false
|
||||
, ready: false
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue