|
|
@@ -247,7 +247,7 @@ func (suite *ConnTestSuite) TestSyncWriteBlocksAsyncWrite() {
|
|
247
|
247
|
|
|
248
|
248
|
go func() {
|
|
249
|
249
|
defer close(syncDone)
|
|
250
|
|
- c.SyncWrite([]byte("exclusive"))
|
|
|
250
|
+ c.SyncWrite([]byte("exclusive")) //nolint: errcheck
|
|
251
|
251
|
}()
|
|
252
|
252
|
|
|
253
|
253
|
// Give SyncWrite time to acquire the lock.
|
|
|
@@ -258,7 +258,7 @@ func (suite *ConnTestSuite) TestSyncWriteBlocksAsyncWrite() {
|
|
258
|
258
|
|
|
259
|
259
|
go func() {
|
|
260
|
260
|
defer close(writeDone)
|
|
261
|
|
- c.Write([]byte("blocked"))
|
|
|
261
|
+ c.Write([]byte("blocked")) //nolint: errcheck
|
|
262
|
262
|
}()
|
|
263
|
263
|
|
|
264
|
264
|
// SyncWrite should finish first.
|