Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Replace ConcurrentLaws' latch with unsafe promise #118

Merged
merged 2 commits into from Mar 18, 2020

Conversation

aballano
Copy link
Member

@aballano aballano commented Mar 17, 2020

Might improve the tests in arrow-kt/arrow-incubator#85

…ame approach as the cancellable one is flakyly failing for some mtl instances arrow-kt/arrow-incubator#75
@aballano aballano force-pushed the ab/align-concurrent-cancellable branch from b776977 to 4acc243 Compare March 17, 2020 13:52
@aballano
Copy link
Member Author

Nevermind, the laws are fine as they are, sorry for the noise.

@aballano aballano closed this Mar 17, 2020
@aballano aballano deleted the ab/align-concurrent-cancellable branch March 17, 2020 16:28
@aballano aballano restored the ab/align-concurrent-cancellable branch March 18, 2020 13:59
@aballano aballano reopened this Mar 18, 2020
@aballano aballano force-pushed the ab/align-concurrent-cancellable branch from ef72452 to d86f7f8 Compare March 18, 2020 14:30
@aballano
Copy link
Member Author

Reopening as @nomisRev found a nicer way by replacing CountDownLatch by UnsafePromise.

Copy link
Contributor

@danimontoya danimontoya left a comment

Choose a reason for hiding this comment

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

Looks good!

@aballano aballano merged commit 07677cc into master Mar 18, 2020
@aballano aballano deleted the ab/align-concurrent-cancellable branch March 18, 2020 14:52
@aballano aballano changed the title Align ConcurrentLaws' cancellable and cancellableF tests Replace ConcurrentLaws' latch with unsafe promise Mar 18, 2020
@pakoito
Copy link
Member

pakoito commented Mar 18, 2020

kiss fingertips

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants