We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d9300 commit c597da2Copy full SHA for c597da2
test/jdk/jdk/jfr/api/consumer/filestream/TestOrdered.java
@@ -66,6 +66,11 @@ public void run() {
66
e.printStackTrace();
67
throw new Error("Unexpected exception in barrier");
68
}
69
+ Instant timestamp = Instant.now();
70
+ // Wait for clock to increment
71
+ while (Instant.now().equals(timestamp)) {
72
+ ;
73
+ }
74
OrderedEvent e2 = new OrderedEvent();
75
e2.commit();
76
@@ -108,6 +113,7 @@ private static void testSetOrderedFalse(Path p) throws Exception {
108
113
es.setOrdered(false);
109
114
es.onEvent(e -> {
110
115
Instant endTime = e.getEndTime();
116
+ System.out.println("testSetOrderedFalse: endTime: " + endTime);
111
117
if (endTime.isBefore(timestamp.get())) {
112
118
unoreded.set(true);
119
es.close();
0 commit comments