Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Create unit tests for dragon ingester #47

Merged
merged 6 commits into from
Oct 21, 2024
Merged

Conversation

eureka-cpu
Copy link
Contributor

Closes #21

Abstracts the logic of the dragon ingester module into more digestible chunks, and adds unit tests to prevent regressions.

@eureka-cpu eureka-cpu added the enhancement New feature or request label Oct 16, 2024
@eureka-cpu eureka-cpu self-assigned this Oct 16, 2024
Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bonsol ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2024 4:53am

@eureka-cpu eureka-cpu marked this pull request as ready for review October 20, 2024 05:01
@eureka-cpu eureka-cpu requested a review from austbot October 20, 2024 05:01
@eureka-cpu eureka-cpu changed the title Create unit tests for dragon ingester chore: Create unit tests for dragon ingester Oct 21, 2024
Copy link
Contributor

@jac18281828 jac18281828 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a nice improvement!

value.connection_timeout_secs.unwrap_or(10) as u64,
))
.timeout(Duration::from_secs(value.timeout_secs.unwrap_or(10) as u64)))
}
}

impl Ingester for GrpcIngester {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice improvement to this function! 🔥🚀

}
}

/// Conversion trait for Inner and Outer instructions to become Bonsol instructions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good - thanks for the comments!

@eureka-cpu eureka-cpu merged commit c20e600 into main Oct 21, 2024
6 checks passed
@eureka-cpu eureka-cpu deleted the eureka-cpu/21 branch October 21, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor and Unit Dragon Ingester
2 participants