Skip to content

Commit

Permalink
#482 changed puzzle comment as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
svendiedrichsen committed Jan 25, 2018
1 parent b3db56d commit 5230973
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/org/cactoos/iterator/SyncIteratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
import org.hamcrest.Matchers;
import org.junit.Test;

// @todo #482:30min add multi-threaded tests which test that the lock syncs the
// access to the next method against next and hasNext calls and calls to the
// hasNext method against next calls.
/**
* Test for {@link SyncIterator}.
*
Expand All @@ -43,7 +46,6 @@
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
public final class SyncIteratorTest {

// @todo #482 add multi-threaded tests
@Test
public void syncIteratorReturnsCorrectValuesWithExternalLock() {
final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
Expand Down

0 comments on commit 5230973

Please sign in to comment.