@@ -124,7 +124,10 @@ public function provideEnqueueConfigs()
124124 ]];
125125
126126// yield 'gps' => [[
127- // 'transport' => getenv('GPS_DSN'),
127+ // 'transport' => [
128+ // 'dsn' => getenv('GPS_DSN'),
129+ // 'emulatorHost' => 'http://google-pubsub:8085'
130+ // ],
128131// ]];
129132 }
130133
@@ -141,7 +144,7 @@ public function testProducerSendsMessage(array $enqueueConfig)
141144
142145 $ consumer = $ this ->getPsrContext ()->createConsumer ($ this ->getTestQueue ());
143146
144- $ message = $ consumer ->receive (1000 );
147+ $ message = $ consumer ->receive (100 );
145148 $ this ->assertInstanceOf (PsrMessage::class, $ message );
146149 $ consumer ->acknowledge ($ message );
147150
@@ -186,7 +189,7 @@ public function testClientConsumeCommandMessagesFromExplicitlySetQueue(array $en
186189 $ tester = new CommandTester ($ command );
187190 $ tester ->execute ([
188191 '--message-limit ' => 2 ,
189- '--time-limit ' => 'now +10 seconds ' ,
192+ '--time-limit ' => 'now + 2 seconds ' ,
190193 'client-queue-names ' => ['test ' ],
191194 ]);
192195
@@ -211,7 +214,7 @@ public function testClientConsumeMessagesFromExplicitlySetQueue(array $enqueueCo
211214 $ tester = new CommandTester ($ command );
212215 $ tester ->execute ([
213216 '--message-limit ' => 2 ,
214- '--time-limit ' => 'now +10 seconds ' ,
217+ '--time-limit ' => 'now + 2 seconds ' ,
215218 'client-queue-names ' => ['test ' ],
216219 ]);
217220
@@ -243,7 +246,7 @@ public function testTransportConsumeMessagesCommandShouldConsumeMessage(array $e
243246 $ tester = new CommandTester ($ command );
244247 $ tester ->execute ([
245248 '--message-limit ' => 1 ,
246- '--time-limit ' => '+10sec ' ,
249+ '--time-limit ' => '+2sec ' ,
247250 '--receive-timeout ' => 1000 ,
248251 '--queue ' => [$ this ->getTestQueue ()->getQueueName ()],
249252 'processor-service ' => 'test.message.processor ' ,
0 commit comments