Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ static <Response> ActionListener<Response> assertOnce(ActionListener<Response> d

private void assertFirstRun() {
var previousRun = firstCompletion.compareAndExchange(null, new ElasticsearchException("executed already"));
assert previousRun == null : "[" + delegate + "] " + previousRun; // reports the stack traces of both completions
assert previousRun == null
// reports the stack traces of both completions
: new AssertionError("[" + delegate + "]", previousRun);
}

@Override
Expand Down