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

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

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

merlimat
Copy link
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

CLA is valid!

Copy link
Contributor

@rdhabalia rdhabalia left a comment

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