Skip to content

Add unit tests for the retention policy view returning the correct configured values #724

Description

@Chucks1093

Summary

A get_retention_policy view should return the current archive retention configuration (retention days, partition strategy, compression enabled, batch size). Unit tests should confirm the returned values match what was set at initialisation.

Scope

  • Test get_retention_policy returns the correct retentionDays value
  • Test it returns the correct partitionStrategy
  • Test it returns the correct compressionEnabled flag
  • Assert no panic on the call

Acceptance Criteria

  • retentionDays matches configured value
  • partitionStrategy matches configured value
  • compressionEnabled matches configured value
  • No panic

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions