@@ -199,7 +199,7 @@ func TestConsumerRebalancingMultiplePartitions(t *testing.T) {
199199 metadataResponse .AddTopicPartition ("my_topic" , 0 , leader1 .BrokerID (), nil , nil , ErrNoError )
200200 metadataResponse .AddTopicPartition ("my_topic" , 1 , leader1 .BrokerID (), nil , nil , ErrNoError )
201201 seedBroker .Returns (metadataResponse )
202- time .Sleep (5 * time .Millisecond ) // dumbest way to force a particular response ordering
202+ time .Sleep (50 * time .Millisecond ) // dumbest way to force a particular response ordering
203203
204204 // leader1 provides five messages on partition 1
205205 fetchResponse = new (FetchResponse )
@@ -229,7 +229,7 @@ func TestConsumerRebalancingMultiplePartitions(t *testing.T) {
229229 metadataResponse .AddTopicPartition ("my_topic" , 0 , leader1 .BrokerID (), nil , nil , ErrNoError )
230230 metadataResponse .AddTopicPartition ("my_topic" , 1 , leader0 .BrokerID (), nil , nil , ErrNoError )
231231 seedBroker .Returns (metadataResponse )
232- time .Sleep (5 * time .Millisecond ) // dumbest way to force a particular response ordering
232+ time .Sleep (50 * time .Millisecond ) // dumbest way to force a particular response ordering
233233
234234 // leader0 provides two messages on partition 1
235235 fetchResponse = new (FetchResponse )
0 commit comments