Skip to content

Commit 5258cc3

Browse files
committed
Fix test
Signed-off-by: Felipe <afrueda97@outlook.com>
1 parent 4acc238 commit 5258cc3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

analyzer/java/com/engflow/bazel/invocation/analyzer/dataproviders/remoteexecution/CriticalPathQueuingDurationDataProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,8 @@ CriticalPathQueuingDuration getCriticalPathQueuingDuration()
189189
}
190190
// Neither event within bounds, prefer the one that extends the bounds
191191
// least.
192-
if (found.end.compareTo(event.end) < 0) {
192+
if (!foundWithinBounds && found.end.compareTo(event.end) < 0) {
193193
found = event;
194-
foundWithinBounds = false;
195194
}
196195
}
197196
if (found != null) {

0 commit comments

Comments
 (0)