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 15:11:08 UTC

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

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


   @yangsen00 Hi, you can try to create a data source through a method and specify the parameter information you need.
   example:
   ```java
   private MockedDataSource createDataSource() {
           MockedDataSource result = new MockedDataSource();
           result.setUrl("jdbc:mysql://localhost/demo_ds");
           result.setUsername("username");
           result.setPassword("password");
           return result;
       }
   ```


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