-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: spring-boot
Are you sure you want to change the base?
Conversation
<dependency> | ||
<groupId>org.openjdk.jmh</groupId> | ||
<artifactId>jmh-generator-annprocess</artifactId> | ||
<version>1.23</version> | ||
<version>1.37</version> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я правильно понимаю что ты тут просто красоту наводишь, и оно в принципе работало и в старом виде?
@@ -0,0 +1,5 @@ | |||
_ _ _ _ _ _ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а мы договорились сделать?
Я пропустил наверное. Мне казалось наоброт договорились убрать баннер совсем
No description provided.