hiero-ledger / hiero-ledger/hiero-consensus-node

Add missing test coverage for `SidecarMetadata`

Open
#12,098 0 comments 0 reactions 0 assignees View on GitHub
HapiThursday
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

There was no test that failed when `RecordStreamFile`'s were created with missing `SidecarMetadata`.

We only caught this in in the integration env.

### Solution

Add unit **and** EET tests that validate `SidecarMetadata`.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating RecordStreamFile and SidecarMetadata, then inspect existing unit and EET tests for related validation. Done means adding unit and EET coverage that detects RecordStreamFile instances created without SidecarMetadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.