Skip to content

Implement tests for callLocal #13

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

Merged
merged 2 commits into from
Jul 14, 2015
Merged

Conversation

qnikst
Copy link
Contributor

@qnikst qnikst commented Feb 25, 2015

No description provided.

expect)
(do liftIO $ writeIORef ibox True))
(send keeper ())
caller <- expect
Copy link
Contributor

Choose a reason for hiding this comment

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

This expect call is unnecessary if the caller is sent by the worker instead of ().

@facundominguez
Copy link
Contributor

How about testing that callLocal waits for the worker to die (in the normal and the interrupted case)?

@hyperthunk
Copy link
Member

Agree with @facundominguez here I think.

@qnikst
Copy link
Contributor Author

qnikst commented Mar 7, 2015

Sorry, forgot to add that to PR. Done

@qnikst
Copy link
Contributor Author

qnikst commented Jul 14, 2015

Can we take a look at this PR once again?

True <- readIORef ibox
return ()

-- Test that worker waits for the caller in correct situation
Copy link
Contributor

Choose a reason for hiding this comment

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

Exchange worker and caller terms.

@facundominguez
Copy link
Contributor

👍

qnikst added a commit that referenced this pull request Jul 14, 2015
Implement tests for callLocal
@qnikst qnikst merged commit 3f07148 into haskell-distributed:master Jul 14, 2015
@qnikst qnikst deleted the call-local branch July 14, 2015 13:42
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