GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 3.x: Fix size+time bound window not creating windows properly by akarnokd · Pull Request #6652 · ReactiveX/RxJava

Conversation

@akarnokd

@akarnokd akarnokd commented Sep 12, 2019

Copy link
Copy Markdown
Member

There was a logic error in the size+time bound window operator for when to close a window if timers are not restarted when the size-bound is hit.

Due to this bug, two tests were not receiving and thus accounting for empty windows that are happening when the size-bound is hit followed by the periodic time-bound hit.

2.x will be fixed in a separate PR.

Fixes #6651

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akarnokd
3.x: Fix size+time bound window not creating windows properly
2e7a826
@akarnokd akarnokd added Bug 3.x labels Sep 12, 2019
@akarnokd akarnokd added this to the 3.0 milestone Sep 12, 2019
vanniktech
vanniktech approved these changes Sep 12, 2019
View reviewed changes
@codecov

codecov Bot commented Sep 12, 2019

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (3.x@9a36930). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##             3.x    #6652   +/-   ##
======================================
  Coverage       ?   98.12%           
  Complexity     ?     6193           
======================================
  Files          ?      678           
  Lines          ?    44722           
  Branches       ?     6176           
======================================
  Hits           ?    43885           
  Misses         ?      290           
  Partials       ?      547
Impacted Files Coverage Δ Complexity Δ
...ternal/operators/flowable/FlowableWindowTimed.java 91.4% <100%> (ø) 4 <0> (?)
...al/operators/observable/ObservableWindowTimed.java 90.73% <100%> (ø) 4 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a36930...2e7a826. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@akarnokd
akarnokd merged commit 6518eb9 into ReactiveX:3.x Sep 17, 2019
@akarnokd akarnokd mentioned this pull request Sep 17, 2019
3.0.0-RC3 release preparations #6649
Closed
@akarnokd
akarnokd deleted the WindowTimeAndSizeFix3x branch September 17, 2019 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@vanniktech vanniktech vanniktech approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

3.x Bug

Projects

None yet

Milestone

3.0

Development

Successfully merging this pull request may close these issues.

Observable#window(long, java.util.concurrent.TimeUnit, long) if reached "window-max-count", the timespan not work

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@akarnokd @vanniktech
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.