Skip to content

Commit

Permalink
Update TSINFO_Test.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Mar 22, 2024
1 parent 2d1266f commit d5a3622
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ public function testParseResponse(): void
public function testReturnsInformationAboutGivenTimeSeries(): void
{
$redis = $this->getClient();
$expectedResponse = ['totalSamples', 0, 'memoryUsage', 4239, 'firstTimestamp', 0, 'lastTimestamp', 0,
'retentionTime', 60000, 'chunkCount', 1, 'chunkSize', 4096, 'chunkType', 'compressed', 'duplicatePolicy',
'max', 'labels', [['sensor_id', '2'], ['area_id', '32']], 'sourceKey', null, 'rules', [], ];
$expectedResponse = [
'totalSamples', 0, 'memoryUsage', 4239, 'firstTimestamp', 0, 'lastTimestamp', 0,
'retentionTime', 60000, 'chunkCount', 1, 'chunkSize', 4096, 'chunkType', 'compressed',
'duplicatePolicy', 'max', 'labels', [['sensor_id', '2'], ['area_id', '32']], 'sourceKey', null, 'rules', [],
];

$arguments = (new CreateArguments())
->retentionMsecs(60000)
Expand Down

0 comments on commit d5a3622

Please sign in to comment.