File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
src/integration-test/java/com/commercetools/sync/integration/services/impl Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -516,12 +516,9 @@ void updateProductType_WithValidChanges_ShouldUpdateProductTypeCorrectly() {
516516 futures .add (future );
517517 }
518518
519- final boolean allThreadsReady =
520- readyLatch .await (5 , java .util .concurrent .TimeUnit .SECONDS );
521- assertThat (allThreadsReady )
522- .as ("All threads should be ready within timeout" )
523- .isTrue ();
524-
519+ final boolean allThreadsReady = readyLatch .await (5 , java .util .concurrent .TimeUnit .SECONDS );
520+ assertThat (allThreadsReady ).as ("All threads should be ready within timeout" ).isTrue ();
521+
525522 // Start all threads at once
526523 startLatch .countDown ();
527524
@@ -533,9 +530,7 @@ void updateProductType_WithValidChanges_ShouldUpdateProductTypeCorrectly() {
533530 executorService .shutdown ();
534531 final boolean executorTerminated =
535532 executorService .awaitTermination (10 , java .util .concurrent .TimeUnit .SECONDS );
536- assertThat (executorTerminated )
537- .as ("Executor service should terminate within timeout" )
538- .isTrue ();
533+ assertThat (executorTerminated ).as ("Executor service should terminate within timeout" ).isTrue ();
539534
540535 // assertions - all calls should return the same result
541536 final Optional <Map <String , AttributeMetaData >> firstResult = futures .get (0 ).join ();
You can’t perform that action at this time.
0 commit comments