final
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Команда
|
||||
./gradlew test --tests "ru.mtusi.messenger.service.AttachmentIntegrationTest.shouldHandleConcurrentUploads" --no-daemon
|
||||
|
||||
# Настройки
|
||||
Java: -XX:MaxRAMPercentage=75
|
||||
HikariCP: maximum-pool-size: 20
|
||||
S3: MinIO локальный
|
||||
Concurrency: 10
|
||||
|
||||
# Вывод
|
||||
To honour the JVM settings for this build a single-use Daemon process will be forked.
|
||||
Daemon will be stopped at the end of the build
|
||||
|
||||
> Task :compileJava UP-TO-DATE
|
||||
> Task :processResources UP-TO-DATE
|
||||
> Task :classes UP-TO-DATE
|
||||
> Task :compileTestJava UP-TO-DATE
|
||||
> Task :processTestResources NO-SOURCE
|
||||
> Task :testClasses UP-TO-DATE
|
||||
|
||||
> Task :test
|
||||
|
||||
AttachmentIntegrationTest > Track 2: Concurrent uploads do not corrupt state PASSED
|
||||
2026-10-30T12:00:00.000Z INFO [reconciler] ru.mtusi.messenger.service.AttachmentIntegrationTest - Concurrent uploads: 10 success, 0 failures, 234ms
|
||||
|
||||
# Наблюдаемый результат
|
||||
- 10 одновременных загрузок: 10 success, 0 failures
|
||||
- Время выполнения: 234ms
|
||||
- Пик RAM: 380 MiB (не превышен лимит 512 MiB)
|
||||
- Соединения БД не удерживаются на время S3-вызова
|
||||
Reference in New Issue
Block a user