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
Android "viewModelScope.launch" block partially covered for Kotlin 1.4.20 #1126
Labels
Projects
Milestone
Comments
This was referenced Jan 5, 2021
dariuszkuc
added a commit
to dariuszkuc/graphql-kotlin
that referenced
this issue
Jan 12, 2021
JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again.
dariuszkuc
added a commit
to dariuszkuc/graphql-kotlin
that referenced
this issue
Jan 14, 2021
JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again.
dariuszkuc
added a commit
to dariuszkuc/graphql-kotlin
that referenced
this issue
Jan 14, 2021
JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again.
dariuszkuc
added a commit
to dariuszkuc/graphql-kotlin
that referenced
this issue
Jan 21, 2021
JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again.
smyrick
pushed a commit
to ExpediaGroup/graphql-kotlin
that referenced
this issue
Jan 21, 2021
* [build] update to Kotlin 1.4, Spring Boot 2.4.1 and Ktor 1.5 JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again. * use mavenLocal last and only for graphql-kotlin artifacts The underlying issue with Gradle being unable to resolve Kotlin platform specific modules was misconfiguration to first look at maven local directory. It was problematic as Gradle uses module metadata to resolve target platform specific (-jvm) modules. Since this metadata is not used by Maven, once Maven integration tests kicked in and downloaded the dependencies, Gradle no longer was able to resolve those platform libs. See gradle/gradle#15893 for details. * update to spring boot 2.4.2 * disable flaky tests Unsure whats causing the race condition on those subscription integration tests when run from GH actions. It appears that some websocket messages are randomly dropped. Cannot reproduce it locally. Disabling the test for now as subscription logic is already covered by tests in spring-server module. Co-authored-by: Dariusz Kuc <dkuc@expedia.com>
huehnerlady
pushed a commit
to huehnerlady/graphql-kotlin
that referenced
this issue
Apr 27, 2021
…Group#1007) * [build] update to Kotlin 1.4, Spring Boot 2.4.1 and Ktor 1.5 JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again. * use mavenLocal last and only for graphql-kotlin artifacts The underlying issue with Gradle being unable to resolve Kotlin platform specific modules was misconfiguration to first look at maven local directory. It was problematic as Gradle uses module metadata to resolve target platform specific (-jvm) modules. Since this metadata is not used by Maven, once Maven integration tests kicked in and downloaded the dependencies, Gradle no longer was able to resolve those platform libs. See gradle/gradle#15893 for details. * update to spring boot 2.4.2 * disable flaky tests Unsure whats causing the race condition on those subscription integration tests when run from GH actions. It appears that some websocket messages are randomly dropped. Cannot reproduce it locally. Disabling the test for now as subscription logic is already covered by tests in spring-server module. Co-authored-by: Dariusz Kuc <dkuc@expedia.com>
dariuszkuc
added a commit
to dariuszkuc/graphql-kotlin
that referenced
this issue
Aug 5, 2022
…Group#1007) * [build] update to Kotlin 1.4, Spring Boot 2.4.1 and Ktor 1.5 JaCoCo branch coverage dropped because of jacoco/jacoco#1126, once new version of Jacoco is released we can bump it up again. * use mavenLocal last and only for graphql-kotlin artifacts The underlying issue with Gradle being unable to resolve Kotlin platform specific modules was misconfiguration to first look at maven local directory. It was problematic as Gradle uses module metadata to resolve target platform specific (-jvm) modules. Since this metadata is not used by Maven, once Maven integration tests kicked in and downloaded the dependencies, Gradle no longer was able to resolve those platform libs. See gradle/gradle#15893 for details. * update to spring boot 2.4.2 * disable flaky tests Unsure whats causing the race condition on those subscription integration tests when run from GH actions. It appears that some websocket messages are randomly dropped. Cannot reproduce it locally. Disabling the test for now as subscription logic is already covered by tests in spring-server module. Co-authored-by: Dariusz Kuc <dkuc@expedia.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
viewModelScope.launch { ... }
blocks as "partially covered". Whereas in version 1.4.10, they were fully covered.Expected behaviour
viewModelScope.launch { ... }
should be marked as fully covered by jacoco for Kotlin 1.4.20.Actual behaviour
Jacoco report says "2 of 3 branches missed" for
viewModelScope.launch { ... }
block. So it's only partially covered:The text was updated successfully, but these errors were encountered: