8000 8.0-RC2 testing (#1531) · predis/predis@aa72649 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa72649

Browse files
authored
8.0-RC2 testing (#1531)
1 parent b5c942b commit aa72649

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
# Mapping of original redis versions to client test containers
4040
declare -A redis_clients_version_mapping=(
41-
["8.0"]="8.0-M05-pre"
41+
["8.0"]="8.0-RC2-pre"
4242
["7.4"]="7.4.2"
4343
["7.2"]="7.2.7"
4444
)

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
### Maintenance
6+
- Updated Redis 8.0 testing image (#1531)
7+
58
## v3.0.0-RC1 (2025-04-17)
69

710
### Breaking Changes

tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testParseResponse(): void
6969
public function testReturnsInformationAboutGivenTimeSeries(): void
7070
{
7171
$redis = $this->getClient();
72-
$expectedResponse = ['totalSamples', 0, 'memoryUsage', 4239, 'firstTimestamp', 0, 'lastTimestamp', 0,
72+
$expectedResponse = ['totalSamples', 0, 'memoryUsage', 5000, 'firstTimestamp', 0, 'lastTimestamp', 0,
7373
'retentionTime', 60000, 'chunkCount', 1, 'chunkSize', 4096, 'chunkType', 'compressed', 'duplicatePolicy',
7474
'max', 'labels', [['sensor_id', '2'], ['area_id', '32']], 'sourceKey', null, 'rules', [],
7575
'ignoreMaxTimeDiff', 0, 'ignoreMaxValDiff', 0];
@@ -84,7 +84,7 @@ public function testReturnsInformationAboutGivenTimeSeries(): void
8484
$redis->tscreate('temperature:2:32', $arguments)
8585
);
8686

87-
$this->assertEquals($expectedResponse, $redis->tsinfo('temperature:2:32'));
87+
$this->assertEqualsWithDelta($expectedResponse, $redis->tsinfo('temperature:2:32'), 1000);
8888
}
8989

9090
/**
@@ -97,7 +97,7 @@ public function testReturnsInformationAboutGivenTimeSeries(): void
9797
public function testReturnsInformationAboutGivenTimeSeriesResp3(): void
9898
{
9999
$redis = $this->getResp3Client();
100-
$expectedResponse = ['totalSamples' => 0, 'memoryUsage' => 4239, 'firstTimestamp' => 0, 'lastTimestamp' => 0,
100+
$expectedResponse = ['totalSamples' => 0, 'memoryUsage' => 5000, 'firstTimestamp' => 0, 'lastTimestamp' => 0,
101101
'retentionTime' => 60000, 'chunkCount' => 1, 'chunkSize' => 4096, 'chunkType' => 'compressed',
102102
'duplicatePolicy' => 'max', 'labels' => ['sensor_id' => '2', 'area_id' => '32'], 'sourceKey' => null, 'rules' => [],
103103
'ignoreMaxTimeDiff' => 0, 'ignoreMaxValDiff' => 0];
@@ -112,7 +112,7 @@ public function testReturnsInformationAboutGivenTimeSeriesResp3(): void
112112
$redis->tscreate('temperature:2:32', $arguments)
113113
);
114114

115-
$this->assertEquals($expectedResponse, $redis->tsinfo('temperature:2:32'));
115+
$this->assertEqualsWithDelta($expectedResponse, $redis->tsinfo('temperature:2:32'), 1000);
116116
}
117117

118118
public function argumentsProvider(): array

0 commit comments

Comments
 (0)
0