rhtyd commented on pull request #4235:
URL: https://github.com/apache/cloudstack/pull/4235#issuecomment-669058977
@nvazquez @shwstppr unit tests are failing, please review travis or local
build and fix. I see:
```
...
[ERROR]
testCheckAffinityNullPreferredHosts(com.cloud.vm.DeploymentPlanningManagerImplTest)
Time elapsed: 0.005 s <<< ERROR!
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'deploymentPlanningManagerImpl': Unsatisfied dependency
expressed through field 'templateDao'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying
bean of type 'com.cloud.storage.dao.VMTemplateDao' available: expected at least
1 bean which qualifies as autowire candidate. Dependency annotations:
{@javax.inject.Inject()}
at
com.cloud.vm.DeploymentPlanningManagerImplTest.testSetUp(DeploymentPlanningManagerImplTest.java:158)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type 'com.cloud.storage.dao.VMTemplateDao' available:
expected at least 1 bean which qualifies as autowire candidate. Dependency
annotations: {@javax.inject.Inject()}
at
com.cloud.vm.DeploymentPlanningManagerImplTest.testSetUp(DeploymentPlanningManagerImplTest.java:158)
[ERROR] Errors:
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] DeploymentPlanningManagerImplTest.testSetUp:158 »
UnsatisfiedDependency Error ...
[ERROR] Tests run: 846, Failures: 0, Errors: 7, Skipped: 5
...
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]