Deterministic sync marker in tests
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to make an integration test that always outputs the same Avro file.
However, because the sync marker is random, the Avro file contents are different each time the test is run.
It would be very helpful if I could provide a random number generator to goavro, for use in testing.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that generates the Avro sync marker and the existing integration-test setup. Determine how a caller could supply a random number generator for deterministic tests, then verify that repeated test runs produce identical Avro output. The issue names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100