File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ public function test_no_verification_ssl_connection(): void
168168 'verify_peer ' => false ,
169169 'passphrase ' => null ,
170170 ],
171+ 'read_timeout ' => 10 ,
172+ 'write_timeout ' => 15 ,
171173 ],
172174
173175 'worker ' => env ('RABBITMQ_WORKER ' , 'default ' ),
@@ -180,8 +182,10 @@ public function test_no_verification_ssl_connection(): void
180182 $ connection = $ queue ->connection ('rabbitmq ' );
181183 $ this ->assertInstanceOf (RabbitMQQueue::class, $ connection );
182184 $ this ->assertInstanceOf (AMQPSSLConnection::class, $ connection ->getConnection ());
183- /** @var AMQPConnectionConfig */
185+ /** @var AMQPConnectionConfig $config */
184186 $ config = $ connection ->getConnection ()->getConfig ();
185187 $ this ->assertFalse ($ config ->getSslVerify ());
188+ $ this ->assertEquals (10 , $ config ->getReadTimeout ());
189+ $ this ->assertEquals (15 , $ config ->getWriteTimeout ());
186190 }
187191}
You can’t perform that action at this time.
0 commit comments