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

Start forwarding timestamps if they're present in the stream #49

Merged
merged 6 commits into from
Mar 26, 2024

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Mar 18, 2024

No description provided.

Copy link
Member

@mat-hek mat-hek left a comment

Choose a reason for hiding this comment

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

Looks great, but some test checking if we forward the timestamps correctly would be useful. Can be a unit test or integration test, whatever is easier.

@Noarkhh Noarkhh requested a review from mat-hek March 20, 2024 13:59
Comment on lines 71 to 73
after
0 ->
:ok
Copy link
Member

Choose a reason for hiding this comment

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

This may finish before the stream ends when a subsequent buffer doesn't arrive at the mailbox on time. Better exit when the end of stream arrives.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

before this receive block we always do assert_end_of_stream, so I don't think that could be the case

@Noarkhh Noarkhh requested a review from mat-hek March 20, 2024 15:16
test/integration/integration_test.exs Outdated Show resolved Hide resolved
@Noarkhh Noarkhh force-pushed the forward-timestamps branch from f55a0a2 to e1ed8c5 Compare March 26, 2024 11:28
@Noarkhh Noarkhh merged commit 3bc2261 into master Mar 26, 2024
3 checks passed
@Noarkhh Noarkhh deleted the forward-timestamps branch March 26, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants