chore: faster test
This commit is contained in:
parent
d8c6325a9b
commit
a40a1575b8
1 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,6 @@ package cardata
|
|||
import (
|
||||
"context"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/evcc-io/evcc/util"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
|
@ -38,7 +37,9 @@ func TestCardataStreaming(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
// process first message
|
||||
dataC <- StreamingMessage{}
|
||||
dataC <- StreamingMessage{}
|
||||
|
||||
soc, err = p.Soc()
|
||||
require.NoError(t, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue