Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HH-239958 small fixes #561

Open
wants to merge 5 commits into
base: spring-boot
Choose a base branch
from
Open

HH-239958 small fixes #561

wants to merge 5 commits into from

Conversation

rogoza-igor
Copy link
Contributor

No description provided.

@rogoza-igor rogoza-igor requested a review from a team as a code owner November 29, 2024 13:51
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.23</version>
<version>1.37</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

всей этой мелочи нет в буте?

@@ -168,16 +92,8 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а ты как искал кого убрать?

@SpringBootTest(
classes = {JpaTestConfig.class, NabJClientConfig.class, JClientTransactionTest.TestConfig.class}
)
@SpringBootTest(classes = {JpaTestConfig.class, NabJClientConfig.class}, webEnvironment = SpringBootTest.WebEnvironment.NONE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это типа оптимизации или зачем? .WebEnvironment.NONE)

@Configuration
@EnableAutoConfiguration
@Import({NabTestConfig.class})
public class NabWebTestConfig {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а ты вроде что то делал до этого похожее, чтобы подтягивался автоконфигов для тестов?

@@ -42,7 +42,7 @@
import ru.hh.nab.testbase.NabTestConfig;
import ru.hh.nab.testbase.web.WebTestBase;

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(classes = TelemetryListenerTest.TestConfiguration.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а почему это ранььше работало?


@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я правильно понимаю что ты тут просто красоту наводишь, и оно в принципе работало и в старом виде?

@@ -0,0 +1,5 @@
_ _ _ _ _ _
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а мы договорились сделать?
Я пропустил наверное. Мне казалось наоброт договорились убрать баннер совсем

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants