Skip to content

Commit a4bfc6c

Browse files
committed
Update status of trace
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 7a3652c commit a4bfc6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/grid/node/local/LocalNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ private void stopTimedOutSession(RemovalNotification<SessionId, SessionSlot> not
355355
if (notification.wasEvicted() && notification.getCause() == RemovalCause.EXPIRED) {
356356
// Session is timing out, stopping it by sending a DELETE
357357
LOG.log(Level.INFO, () -> String.format("Session id %s timed out, stopping...", id));
358-
span.setStatus(Status.ABORTED);
358+
span.setStatus(Status.CANCELLED);
359359
span.addEvent(String.format("Stopping the the timed session %s", id), attributeMap);
360360
} else {
361361
LOG.log(Level.INFO, () -> String.format("Session id %s is stopping on demand...", id));

0 commit comments

Comments
 (0)