Skip to content

Commit

Permalink
feat(objectionary#2148): CatalogsConcurrencyTest -> CatalogsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Jun 23, 2023
1 parent 20a1e71 commit 1b91063
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* everything works fine it's important to run the tests many times.
* @since 0.29.0
*/
class CatalogsConcurrencyTest {
class CatalogsTest {

/**
* Number of cores on the running system.
Expand All @@ -56,14 +56,14 @@ void readsFromTojosConcurrently(@TempDir final Path tmp) {
MatcherAssert.assertThat(
new SumOf(
new Threads<>(
CatalogsConcurrencyTest.CORES,
IntStream.range(0, CatalogsConcurrencyTest.CORES)
CatalogsTest.CORES,
IntStream.range(0, CatalogsTest.CORES)
.mapToObj(i -> tojos.add(UUID.randomUUID().toString()))
.map(CatalogsConcurrencyTest::task)
.map(CatalogsTest::task)
.collect(Collectors.toList())
)
),
Matchers.equalTo(CatalogsConcurrencyTest.CORES)
Matchers.equalTo(CatalogsTest.CORES)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* @since 0.28.11
*/
@Execution(ExecutionMode.SAME_THREAD)
@SuppressWarnings("JTCOP.RuleAllTestsHaveProductionClass")
class LogFormatTest {

/**
Expand Down

0 comments on commit 1b91063

Please sign in to comment.