firmata: adjust client test timeout values
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
56db251c28
commit
3c4a4f6e0d
|
@ -137,7 +137,7 @@ func TestProcessProtocolVersion(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("ProtocolVersion was not published")
|
||||
}
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ func TestProcessAnalogRead0(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("AnalogRead0 was not published")
|
||||
}
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ func TestProcessAnalogRead1(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("AnalogRead1 was not published")
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ func TestProcessDigitalRead2(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("DigitalRead2 was not published")
|
||||
}
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ func TestProcessDigitalRead4(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("DigitalRead4 was not published")
|
||||
}
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ func TestProcessPinState13(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("PinState13 was not published")
|
||||
}
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ func TestProcessI2cReply(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("I2cReply was not published")
|
||||
}
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ func TestProcessFirmwareQuery(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(10 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("FirmwareQuery was not published")
|
||||
}
|
||||
}
|
||||
|
@ -330,7 +330,7 @@ func TestProcessStringData(t *testing.T) {
|
|||
|
||||
select {
|
||||
case <-sem:
|
||||
case <-time.After(100 * time.Millisecond):
|
||||
case <-time.After(20 * time.Millisecond):
|
||||
t.Errorf("StringData was not published")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue