Skip to content

Commit 9ffca44

Browse files
fix: spotlessApply
1 parent 2962e35 commit 9ffca44

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/integration-test/java/com/commercetools/sync/integration/services/impl/ProductTypeServiceImplIT.java

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)