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

A more thorough Hello World restart test. #73

Merged
merged 1 commit into from
Jul 2, 2015
Merged

Conversation

mcovarr
Copy link
Contributor

@mcovarr mcovarr commented Jul 1, 2015

Necessitated some actual fixes to the code to do the Right Thing for the LocalBackend.

@mcovarr mcovarr force-pushed the mlc_really_restart branch from acbbcc9 to e750db9 Compare July 1, 2015 21:56
}
// The caller doesn't care about the result value, only that it's a Future.
// Use Future.sequence to manipulate Seq[Future[Unit]] to Future[Seq[Unit]], then map to Future[Unit].
Future.sequence(seqOfFutures) map { _ => () }
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need that map?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The expression doesn't typecheck to the return type without it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It would typecheck to Future[Any]; maybe I should switch to that?

@mcovarr mcovarr force-pushed the mlc_really_restart branch from e750db9 to 344381c Compare July 2, 2015 14:46
@kshakir
Copy link
Contributor

kshakir commented Jul 2, 2015

Looks good. Merging.

kshakir added a commit that referenced this pull request Jul 2, 2015
A more thorough Hello World restart test.
@kshakir kshakir merged commit 01614ba into develop Jul 2, 2015
@kshakir kshakir deleted the mlc_really_restart branch July 2, 2015 15:50
mcovarr pushed a commit that referenced this pull request Oct 4, 2017
mcovarr pushed a commit that referenced this pull request Oct 21, 2017
* Enable workflow log copy test

* Remove obsolete comment
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