apache / apache/hudi

Unify the test code for both bounded in memory queue and disruptor

Open
#15,524 0 comments 0 reactions 0 assignees View on GitHub
from-jira priority:high type:improvement
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

we need to have one set of tests and parametrize two diff queues. looking to reuse code. Bcoz, the way we test both bounded in memory queue and disruptor based one are same. just the initialization differs. but essentially its a functional testing of the queue.

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5106
- Type: Improvement

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the existing functional tests for the bounded in-memory queue and the disruptor-based queue, then compare their setup and assertions. Refactor the tests so both queue implementations use one parameterized test set with only initialization differing. Done means the shared functional tests pass for both queues.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.