Implemented and fixed many issues
This commit is contained in:
@@ -74,7 +74,7 @@ func TestHubSetCalibrationCommand(t *testing.T) {
|
||||
sendCh := make(chan wsMessage, 64)
|
||||
c := &wsClient{hub: h, send: sendCh}
|
||||
h.register <- c
|
||||
sleepMillis(20) // let Run() process the register and flush initial state msgs
|
||||
sleepMillis(20) // let Run() process the register and flush initial state msgs
|
||||
drainSendCh(sendCh) // discard state-sync messages (sources, trigger, cal, ...)
|
||||
|
||||
h.commandCh <- hubCmd{op: "wsSetCalibration", cal: CalConfig{
|
||||
|
||||
Reference in New Issue
Block a user