parent
0ea8c0d872
commit
519e6ae546
4 changed files with 18 additions and 2 deletions
|
|
@ -430,7 +430,13 @@ public class SourceTest extends StreamTest {
|
|||
probe.expectNoMsg(FiniteDuration.create(200, TimeUnit.MILLISECONDS));
|
||||
probe.expectMsgEquals("tick");
|
||||
probe.expectNoMsg(FiniteDuration.create(200, TimeUnit.MILLISECONDS));
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
public void mustCompileMethodsWithJavaDuration() {
|
||||
Source<NotUsed, Cancellable> tickSource = Source.tick(java.time.Duration.ofSeconds(1),
|
||||
java.time.Duration.ofMillis(500), NotUsed.getInstance());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue