Skip to content

Commit 82cf07a

Browse files
committed
fix test
1 parent 9cb8cff commit 82cf07a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</testsuite>
3232
</testsuites>
3333
<php>
34-
<env name="RABBITMQ_HOST" value="localhost"/>
34+
<env name="RABBITMQ_HOST" value="eagle-rmq"/>
3535
<env name="QUEUE_CONNECTION" value="rabbitmq"/>
3636
<env name="RABBITMQ_PORT" value="5672"/>
3737
<env name="PORT_SSL" value="5671"/>

tests/Feature/RabbitMQQueueTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function testRabbitMQSize(): void
2727
$this->assertTrue($this->connection->getConnection()->channel()->is_open());
2828

2929
dispatch(new TestJobMock('Farhad Zand'))->onQueue($queue);
30+
sleep(1);
3031
$this->assertEquals(1, $this->connection->size($queue));
3132
}
3233

0 commit comments

Comments
 (0)