Для моего проекта мне нужна определенная версия jhipster.
Но я также хочу поиграть со всеми новыми функциями jhipster (версия 5+).
Поэтому моя идея - запустить новейший jhipster в док-контейнере, чтобы ничто не мешало настройке моего проекта.
Я следовал официальному руководству по установке jhipster .
Установка прошла успешно.
Теперь приходит часть, где я застрял.
При использовании ./gradlew test
все тесты не пройдены.
Я попытался ./gradlwe test
в обоих каталогах, то есть один раз в каталоге контейнера докера (docker container exec -it jhipster bash
-> затем в папке приложения, выполнив yarn install
, а затем ./gradlew test
)
и из моего локального каталога, в который был смонтирован том (~/jhipster
).
Чего мне не хватает?
Для тех, кто заинтересован, чтобы тесты провалились (вот как все они выглядят):
Задание: тест
org.jhipster.health.web.rest.LogsResourceIntTest > changeLogs FAILED
java.lang.IllegalStateException
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: io.jsonwebtoken.security.WeakKeyException
org.jhipster.health.web.rest.LogsResourceIntTest > getAllLogs FAILED
java.lang.IllegalStateException
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: io.jsonwebtoken.security.WeakKeyException
org.jhipster.health.web.rest.LogsResourceIntTest > testLogstashAppender FAILED
java.lang.IllegalStateException
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: io.jsonwebtoken.security.WeakKeyException
org.jhipster.health.web.rest.AccountResourceIntTest > testSaveInvalidEmail FAILED
java.lang.IllegalStateException
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: io.jsonwebtoken.security.WeakKeyException
137 tests completed, 113 failed
> Task :test FAILED
FAILURE: Build failed with an exception.