-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add basic general-purpose model checker test for coroutines #539
Conversation
@eupp is it possible to make the output shorter than 2500 lines for such a simple test? |
.../test/org/jetbrains/kotlinx/lincheck_test/representation/RunConcurrentRepresentationTests.kt
Outdated
Show resolved
Hide resolved
@@ -479,5 +479,8 @@ internal object LincheckClassFileTransformer : ClassFileTransformer { | |||
// StackTraceElement class, to wrap all its methods into the ignored section. | |||
isStackTraceElementClass(className) || | |||
// ThreadContainer classes, to detect threads started in the thread containers. | |||
isThreadContainerClass(className) | |||
isThreadContainerClass(className) || | |||
// TODO: instead of eagerly instrumenting `DispatchedContinuation` |
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.
let's create an issue for that
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.
Here is the issue: #553
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.
Please take a look at the comments and create issues where necessary. While the output is not perfect yet, we will address these issues separately.
… a temporary workaround Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
c663b27
to
39a9599
Compare
Signed-off-by: Evgeniy Moiseenko <[email protected]>
This PR adds simple GPMC test that uses coroutines and channels.
It also adds a minor fix to make the test pass.
NOTE: apparently, there is some problem on JVM 8, because the test behaves non-deterministically there. Needs further investigation. For now, I disabled the new coroutines test for JVM 8.
Closes #505