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: Test more rounds for unsafeDataVia keeping order. #1680

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Jan 5, 2025

Motivation:
Run the testing more times for ordering validation.

Modification:
Run it 64 times

Result:
Test unsafeDataVia more times.
These tests are fast, so no much overhead.

@He-Pin He-Pin requested a review from mdedetrich January 5, 2025 04:08
@He-Pin He-Pin added the t:stream Pekko Streams label Jan 5, 2025
@He-Pin He-Pin requested a review from pjfanning January 5, 2025 04:56
for (_ <- 0 until 64) {
SourceWithContext
.fromTuples(Source(data)).via(
FlowWithContext.unsafeOptionalDataVia(
Copy link
Member Author

Choose a reason for hiding this comment

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

this can fail too, fixed in #1681

Copy link
Contributor

@mdedetrich mdedetrich left a comment

Choose a reason for hiding this comment

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

lgtm

@He-Pin He-Pin merged commit 2ee3745 into apache:main Jan 5, 2025
9 checks passed
@He-Pin He-Pin deleted the testunsafeDataViaMoreTimes branch January 5, 2025 16:06
He-Pin added a commit to He-Pin/incubator-pekko that referenced this pull request Jan 5, 2025
He-Pin added a commit that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants