We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5710273 commit 1579396Copy full SHA for 1579396
modules/queue/queue_disk_channel_test.go
@@ -207,7 +207,6 @@ func TestPersistableChannelQueue_Pause(t *testing.T) {
207
log.Info("pausing")
208
pausable.Pause()
209
}
210
- pushBack = false
211
lock.Unlock()
212
return data
213
@@ -333,6 +332,10 @@ func TestPersistableChannelQueue_Pause(t *testing.T) {
333
332
return
334
335
+ lock.Lock()
336
+ pushBack = false
337
+ lock.Unlock()
338
+
339
pausable.Resume()
340
341
_, resumed = pausable.IsPausedIsResumed()
@@ -451,6 +454,10 @@ func TestPersistableChannelQueue_Pause(t *testing.T) {
451
454
default:
452
455
453
456
457
458
459
460
461
462
463
select {
0 commit comments