--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java Wed Oct 23 23:23:18 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java Wed Oct 23 23:47:56 2019 +0200
@@ -60,7 +60,7 @@
}
public static void main(String... args) throws Exception {
- // testEventStream();
+ testEventStream();
testRecordingStream();
}
@@ -77,7 +77,7 @@
rs.onClose(() -> {
closed.countDown();
});
- Instant endTime = Instant.now().plus(Duration.ofMillis(10_000));
+ Instant endTime = Instant.now().plus(Duration.ofMillis(100));
System.out.println("Setting end time: " + endTime);
rs.setEndTime(endTime);
rs.startAsync();