Skip to content

Improve block loader test infrastructure #115257

@lkts

Description

@lkts

Currently block loader tests for mappers are coupled to synthetic source test infrastructure. As a result, changing synthetic source implementation/tests results in unintended changes to block loader tests and block loader tests are limited to only test scenarios that make sense for synthetic source (!). Additionally block loader tests use synthetic source infrastructure to test block loaders without synthetic source which makes it hard to understand what's going on and leads to complicated implementation of syntheticSourceSupport.

Example:

public MapperTestCase.SyntheticSourceExample example(int maxValues, boolean loadBlockFromSource) {

We would like to consider decoupling such tests possibly utilizing logsdb data generation infrastructure.

Metadata

Metadata

Assignees

No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions