-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Increase Lincheck version to 3.0 #4467
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
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Nikita Koval <[email protected]>
4687658
to
cb01599
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's alarming that the CI consistently takes about ~20-30 minutes longer with this change. What could be the reason?
@@ -252,6 +252,7 @@ kover { | |||
|
|||
// lincheck has NPE error on `ManagedStrategyStateHolder` class | |||
excludedClasses.addAll("org.jetbrains.kotlinx.lincheck.*") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Historical note: https://repo.maven.apache.org/maven2/org/jetbrains/lincheck/lincheck/3.0/lincheck-3.0.jar does contain classes in both org.jetbrains.lincheck
and org.jetbrains.kotlinx.lincheck
packages, so keeping these exclusions is intentional.
@@ -154,9 +149,6 @@ abstract class ChannelLincheckTestBase( | |||
// @Operation TODO non-linearizable in BufferedChannel | |||
open fun isEmpty() = c.isEmpty | |||
|
|||
@StateRepresentation | |||
fun state() = (c as? BufferedChannel<*>)?.toStringDebug() ?: c.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, should we also remove toStringDebug()
itself? If not, then at least the comment to that function should be updated.
Also, on my machine,
One example of a problem: https://gist.github.com/dkhalanskyjb/528602e1adfdb402b14bcdef11a5ad44 |
Sorry, disregard my latest message: the same happens on |
No description provided.