as7262: disable racy test

pull/4/head
Marc-Antoine Ruel 5 years ago
parent 16652c725e
commit 21ad53b7b5

@ -721,6 +721,11 @@ func TestDev_pollDataReady(t *testing.T) {
timeout: time.Millisecond * 100, timeout: time.Millisecond * 100,
wantErr: nil, wantErr: nil,
}, },
/* TODO: This test is racy and fails with:
expected error: received halt command but got: <nil>
Example: https://github.com/periph/devices/runs/1665922912
{ {
name: "errHalted2", name: "errHalted2",
tx: []i2ctest.IO{ tx: []i2ctest.IO{
@ -737,6 +742,7 @@ func TestDev_pollDataReady(t *testing.T) {
timeout: time.Millisecond * 100, timeout: time.Millisecond * 100,
wantErr: errHalted, wantErr: errHalted,
}, },
*/
} }
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {

Loading…
Cancel
Save