From 21ad53b7b50013119b5bd6dec9ea10bf238521e8 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Wed, 13 Jan 2021 09:47:06 -0500 Subject: [PATCH] as7262: disable racy test --- as7262/as7262_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/as7262/as7262_test.go b/as7262/as7262_test.go index a869f7d..9b1f4c8 100644 --- a/as7262/as7262_test.go +++ b/as7262/as7262_test.go @@ -721,6 +721,11 @@ func TestDev_pollDataReady(t *testing.T) { timeout: time.Millisecond * 100, wantErr: nil, }, + /* TODO: This test is racy and fails with: + + expected error: received halt command but got: + + Example: https://github.com/periph/devices/runs/1665922912 { name: "errHalted2", tx: []i2ctest.IO{ @@ -737,6 +742,7 @@ func TestDev_pollDataReady(t *testing.T) { timeout: time.Millisecond * 100, wantErr: errHalted, }, + */ } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {