mirror of
https://github.com/openstf/stf
synced 2025-10-03 17:59:28 +02:00
Don't rely on lucky timings when sending messages from the provider.
This commit is contained in:
parent
36d0af71b5
commit
91097dc569
6 changed files with 153 additions and 84 deletions
|
@ -40,12 +40,6 @@ var wireutil = {
|
|||
, entry.identifier
|
||||
))
|
||||
}
|
||||
, makeDevicePokeMessage: function(serial, channel) {
|
||||
return wireutil.envelope(new wire.DevicePokeMessage(
|
||||
serial
|
||||
, channel
|
||||
))
|
||||
}
|
||||
, makeDeviceIdentityMessage: function(serial, identity) {
|
||||
return wireutil.envelope(new wire.DeviceIdentityMessage(
|
||||
serial
|
||||
|
@ -78,9 +72,6 @@ var wireutil = {
|
|||
})
|
||||
))
|
||||
}
|
||||
, makeProbeMessage: function() {
|
||||
return wireutil.envelope(new wire.ProbeMessage())
|
||||
}
|
||||
, makeShellCommandMessage: function(channel, command) {
|
||||
return wireutil.envelope(new wire.ShellCommandMessage(
|
||||
channel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue