@@ -49,7 +49,7 @@ public function testSubscribeWithNullMessage()
4949 $ unsubscribeMessage ->payload = 'unsubscribe ' ;
5050
5151 $ consumer ->shouldReceive ('consume ' )
52- ->with (300 )
52+ ->with (120000 )
5353 ->once ()
5454 ->andReturn ($ unsubscribeMessage );
5555
@@ -80,7 +80,7 @@ public function testSubscribeWithPartitionEofErrorCode()
8080 $ message ->payload = null ;
8181
8282 $ consumer ->shouldReceive ('consume ' )
83- ->with (300 )
83+ ->with (120000 )
8484 ->once ()
8585 ->andReturn ($ message );
8686
@@ -93,7 +93,7 @@ public function testSubscribeWithPartitionEofErrorCode()
9393 $ unsubscribeMessage ->payload = 'unsubscribe ' ;
9494
9595 $ consumer ->shouldReceive ('consume ' )
96- ->with (300 )
96+ ->with (120000 )
9797 ->once ()
9898 ->andReturn ($ unsubscribeMessage );
9999
@@ -124,7 +124,7 @@ public function testSubscribeWithTimedOutErrorCode()
124124 $ message ->payload = null ;
125125
126126 $ consumer ->shouldReceive ('consume ' )
127- ->with (300 )
127+ ->with (120000 )
128128 ->once ()
129129 ->andReturn ($ message );
130130
@@ -137,7 +137,7 @@ public function testSubscribeWithTimedOutErrorCode()
137137 $ unsubscribeMessage ->payload = 'unsubscribe ' ;
138138
139139 $ consumer ->shouldReceive ('consume ' )
140- ->with (300 )
140+ ->with (120000 )
141141 ->once ()
142142 ->andReturn ($ unsubscribeMessage );
143143
@@ -168,7 +168,7 @@ public function testSubscribeWithMessagePayload()
168168 $ message ->payload = 'a:1:{s:5:"hello";s:5:"world";} ' ;
169169
170170 $ consumer ->shouldReceive ('consume ' )
171- ->with (300 )
171+ ->with (120000 )
172172 ->once ()
173173 ->andReturn ($ message );
174174
@@ -182,7 +182,7 @@ public function testSubscribeWithMessagePayload()
182182 $ unsubscribeMessage ->payload = 'unsubscribe ' ;
183183
184184 $ consumer ->shouldReceive ('consume ' )
185- ->with (300 )
185+ ->with (120000 )
186186 ->once ()
187187 ->andReturn ($ unsubscribeMessage );
188188
@@ -213,7 +213,7 @@ public function testSubscribeWithErrorThrowsException()
213213 $ message = new MockKafkaErrorMessage ();
214214
215215 $ consumer ->shouldReceive ('consume ' )
216- ->with (300 )
216+ ->with (120000 )
217217 ->once ()
218218 ->andReturn ($ message );
219219
0 commit comments