ahutsunshine commented on a change in pull request #543: fix tests failure
URL: https://github.com/apache/griffin/pull/543#discussion_r333806276
##########
File path:
service/src/test/java/org/apache/griffin/core/job/EventServiceTest.java
##########
@@ -59,6 +61,9 @@ Licensed to the Apache Software Foundation (ASF) under one
@Autowired
private List<GriffinEvent> eventList;
+ @MockBean
Review comment:
> I don't know if the `IMetaStoreClient client` could be lazy initialized in
`HiveMetaStoreProxy` ?
I'm not sure whether it works even the `IMetaStoreClient client` could be
lazy initialized. I guess it will not work as `IMetaStoreClient client` still
need be injected in `HiveMetaStoreServiceImpl` when using @DataJaTest.
And error will still happen.
```
User-defined bean method 'initHiveMetastoreClient' in 'HiveMetaStoreProxy'
ignored as the bean value is null
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services