File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/operator Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 4747import java .util .concurrent .atomic .AtomicInteger ;
4848import java .util .function .LongSupplier ;
4949
50- import static net .bytebuddy .matcher .ElementMatchers .is ;
51- import static org .hamcrest .Matchers .any ;
52- import static org .hamcrest .Matchers .comparesEqualTo ;
5350import static org .hamcrest .Matchers .either ;
5451import static org .hamcrest .Matchers .equalTo ;
5552import static org .hamcrest .Matchers .not ;
@@ -236,8 +233,16 @@ public void testUnchangedStatus() {
236233
237234 DriverStatus newStatus = driver .status ();
238235 assertThat (newStatus , not (sameInstance (initialStatus )));
239- assertThat (newStatus .completedOperators () != initialStatus .completedOperators () || newStatus .completedOperators ().hashCode () == completedOperatorsHash , equalTo (true ));
240- assertThat (newStatus .activeOperators () != initialStatus .activeOperators () || newStatus .activeOperators ().hashCode () == activeOperatorsHash , equalTo (true ));
236+ assertThat (
237+ newStatus .completedOperators () != initialStatus .completedOperators ()
238+ || newStatus .completedOperators ().hashCode () == completedOperatorsHash ,
239+ equalTo (true )
240+ );
241+ assertThat (
242+ newStatus .activeOperators () != initialStatus .activeOperators ()
243+ || newStatus .activeOperators ().hashCode () == activeOperatorsHash ,
244+ equalTo (true )
245+ );
241246 assertThat (newStatus .sleeps () != initialStatus .sleeps () || newStatus .sleeps ().hashCode () == sleepsHash , equalTo (true ));
242247 }
243248 }
You can’t perform that action at this time.
0 commit comments