Add an item to concurrency checklist about assertions in parall… (#8701)

Add an item to concurrency checklist about assertions in parallel threads and async code in tests
This commit is contained in:
Roman Leventov 2019-10-29 11:38:04 +03:00 committed by GitHub
parent b8ceee4eee
commit 3e9723e3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -108,6 +108,8 @@ Testing
https://github.com/code-review-checklists/java-concurrency#coordinate-test-workers)
- [There are more test threads than CPUs (if possible for the test)?](
https://github.com/code-review-checklists/java-concurrency#test-workers-interleavings)
- [Assertions in parallel threads and asynchronous code are handled properly?](
https://github.com/code-review-checklists/java-concurrency#concurrent-assert)
Locks
- [Can use `LifecycleLock` instead of a standard lock in a lifecycled object?](#use-lifecycle-lock)