1 parent bdbb009 commit b8168a8Copy full SHA for b8168a8
pkg/distributor/distributor_test.go
@@ -583,6 +583,8 @@ func TestDistributorPushToKafka(t *testing.T) {
583
require.Equal(t, 1, len(ingesters[0].pushed))
584
require.Equal(t, 1, len(ingesters[1].pushed))
585
require.Eventually(t, func() bool {
586
+ ingesters[2].mu.Lock()
587
+ defer ingesters[2].mu.Unlock()
588
return len(ingesters[2].pushed) == 1
589
}, time.Second, 10*time.Millisecond)
590
})
0 commit comments