SpringBootTest + H2 База данных памяти = ОШИБКА ohtsiSchemaDropperImpl $ DelayedDropActionImpl - PullRequest
0 голосов
/ 16 апреля 2020

Я получаю сообщения об ошибках после завершения моих тестов с использованием базы данных памяти H2:

10:23:43.566 [main] INFO  o.s.s.c.ThreadPoolTaskExecutor - Shutting down ExecutorService 'applicationTaskExecutor'
10:23:43.573 [main] INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
10:23:43.580 [main] ERROR o.h.t.s.i.SchemaDropperImpl$DelayedDropActionImpl - HHH000478: Unsuccessful: 
    drop table cup_orchestrator.cup_orchestrator.country if exists
10:23:43.581 [main] ERROR o.h.t.s.i.SchemaDropperImpl$DelayedDropActionImpl - HHH000478: Unsuccessful: 
    drop table cup_orchestrator.cup_orchestrator.cpo_cycle_type if exists 

Кажется, что hibernate пытается удалить таблицу и не может, но таблица была создана, потому что мои тесты использовали эти таблицы.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...