Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Conversation

@koral--
Copy link
Contributor

@koral-- koral-- commented Nov 5, 2017

If this is merged I'll fill PR in Composer.

Copy link
Contributor

@artem-zinnatullin artem-zinnatullin left a comment

Choose a reason for hiding this comment

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

Looks great!

fun AdbDevice.log(message: String) = com.gojuno.commander.os.log("[$id] $message")

fun AdbDevice.installApk(pathToApk: String): Observable<Unit> {
fun AdbDevice.installApk(pathToApk: String, timeout: Pair<Int, TimeUnit> = 5 to MINUTES): Observable<Unit> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's reduce default to 2 minutes, sounds reasonable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK.
Both composer and commander are before version 1.0.0 so I assume that it is acceptable that users which currently need timeout between 2 and 5 minutes will have to adjust their configurations.

Copy link
Contributor

Choose a reason for hiding this comment

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

yep, that's the rationale, once we get to 1.x will strictly follow semantic versioning!

Copy link
Contributor

@yunikkk yunikkk left a comment

Choose a reason for hiding this comment

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

TY!

@yunikkk yunikkk merged commit 4068958 into gojuno:master Nov 6, 2017
@koral-- koral-- deleted the timeout branch November 6, 2017 03:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants