Skip to content

Commit 5c7066a

Browse files
committed
tests
1 parent 09378ef commit 5c7066a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ public function itShouldThrowAnExceptionOnPrimaryFailure(): void
8787
*/
8888
public function itShouldGetMaster(): void
8989
{
90-
echo(REDIS_SENTINEL_HOST);
9190
$redis = new Redis(['host' => REDIS_HOST,
92-
'sentinel' => ['host' => REDIS_SENTINEL_HOST, 'enable' => true, 'service' => 'myprimary']
91+
'sentinel' => ['host' => "redis-sentinel", 'enable' => true, 'service' => 'myprimary']
9392
]);
9493

9594
$redis->collect();

0 commit comments

Comments
 (0)