@@ -49,7 +49,7 @@ public function testSubscribeWithNullMessage()
49
49
$ unsubscribeMessage ->payload = 'unsubscribe ' ;
50
50
51
51
$ consumer ->shouldReceive ('consume ' )
52
- ->with (300 )
52
+ ->with (120000 )
53
53
->once ()
54
54
->andReturn ($ unsubscribeMessage );
55
55
@@ -80,7 +80,7 @@ public function testSubscribeWithPartitionEofErrorCode()
80
80
$ message ->payload = null ;
81
81
82
82
$ consumer ->shouldReceive ('consume ' )
83
- ->with (300 )
83
+ ->with (120000 )
84
84
->once ()
85
85
->andReturn ($ message );
86
86
@@ -93,7 +93,7 @@ public function testSubscribeWithPartitionEofErrorCode()
93
93
$ unsubscribeMessage ->payload = 'unsubscribe ' ;
94
94
95
95
$ consumer ->shouldReceive ('consume ' )
96
- ->with (300 )
96
+ ->with (120000 )
97
97
->once ()
98
98
->andReturn ($ unsubscribeMessage );
99
99
@@ -124,7 +124,7 @@ public function testSubscribeWithTimedOutErrorCode()
124
124
$ message ->payload = null ;
125
125
126
126
$ consumer ->shouldReceive ('consume ' )
127
- ->with (300 )
127
+ ->with (120000 )
128
128
->once ()
129
129
->andReturn ($ message );
130
130
@@ -137,7 +137,7 @@ public function testSubscribeWithTimedOutErrorCode()
137
137
$ unsubscribeMessage ->payload = 'unsubscribe ' ;
138
138
139
139
$ consumer ->shouldReceive ('consume ' )
140
- ->with (300 )
140
+ ->with (120000 )
141
141
->once ()
142
142
->andReturn ($ unsubscribeMessage );
143
143
@@ -168,7 +168,7 @@ public function testSubscribeWithMessagePayload()
168
168
$ message ->payload = 'a:1:{s:5:"hello";s:5:"world";} ' ;
169
169
170
170
$ consumer ->shouldReceive ('consume ' )
171
- ->with (300 )
171
+ ->with (120000 )
172
172
->once ()
173
173
->andReturn ($ message );
174
174
@@ -182,7 +182,7 @@ public function testSubscribeWithMessagePayload()
182
182
$ unsubscribeMessage ->payload = 'unsubscribe ' ;
183
183
184
184
$ consumer ->shouldReceive ('consume ' )
185
- ->with (300 )
185
+ ->with (120000 )
186
186
->once ()
187
187
->andReturn ($ unsubscribeMessage );
188
188
@@ -213,7 +213,7 @@ public function testSubscribeWithErrorThrowsException()
213
213
$ message = new MockKafkaErrorMessage ();
214
214
215
215
$ consumer ->shouldReceive ('consume ' )
216
- ->with (300 )
216
+ ->with (120000 )
217
217
->once ()
218
218
->andReturn ($ message );
219
219
0 commit comments