You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/02/23 13:43:46 UTC

[GitHub] [shardingsphere] yangsen00 commented on issue #15564: `ClusterContextManagerCoordinator.renew(final SchemaVersionChangedEvent event)` Add unit test.

yangsen00 commented on issue #15564:
URL: https://github.com/apache/shardingsphere/issues/15564#issuecomment-1048795880


   hello,I have a question. Where I circled out.
   ![image](https://user-images.githubusercontent.com/73088519/155329557-c4f51f7e-c472-47fc-b100-538c456ac34e.png)
   When I use 
   `        mock(MockedDataSource.class)
   `
   It will cause a NullPoint, It same like that. MockedDataSource.class don't have value of url,username and password.
   And I use a constructor as this picture show,  it worked.
   How can I fix if?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org