Skip to content

In unit tests, do ZK cache reloads in same thread, to avoid race conditions - #31

Merged
merlimat merged 1 commit into
apache:masterfrom
merlimat:master
Sep 22, 2016
Merged

merlimat merged 1 commit into
apache:masterfrom
merlimat:master

Conversation

@merlimat

Copy link
Copy Markdown
Contributor

Motivation

There a are several intermittent failures in unit test under Travis CI docker container. Some of them are due to ZK cache updating in background.

Modifications

Use same thread executor for mocked service to update cache immediately.

Result

Few of the intermittent unit tests failures should be resolved. eg: #12

@yahoocla

Copy link
Copy Markdown

CLA is valid!

@rdhabalia rdhabalia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@merlimat
merlimat merged commit 4e1bde9 into apache:master Sep 22, 2016
sijie added a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
### Motivation

input type can be different output type. so we need two serdes for each function.

### Modifications

- add inputSerde and outputSerde
- verify both input and output serde to make sure their types are consistent with function types

### Result

user run functions with input/output serdes.
massakam pushed a commit to massakam/pulsar that referenced this pull request Aug 6, 2020
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
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.

3 participants