Skip to content

Commit 09378ef

Browse files
committed
tests
1 parent e6528f3 commit 09378ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env:
3333
# The hostname used to communicate with the Redis/Sentinel service containers
3434
REDIS_HOST: redis
35-
REDIS_SENTINEL_HOST: redis-sentinel
35+
REDIS_SENTINEL_HOST: "redis-sentinel"
3636
# The default Redis port
3737
REDIS_PORT: 6379
3838
REDIS_SENTINEL_PORT: 6379

tests/Test/Prometheus/Storage/RedisSentinelTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public function itShouldThrowAnExceptionOnPrimaryFailure(): void
8686
* @test
8787
*/
8888
public function itShouldGetMaster(): void
89-
{
89+
{
90+
echo(REDIS_SENTINEL_HOST);
9091
$redis = new Redis(['host' => REDIS_HOST,
9192
'sentinel' => ['host' => REDIS_SENTINEL_HOST, 'enable' => true, 'service' => 'myprimary']
9293
]);

0 commit comments

Comments
 (0)