kimmking commented on issue #4773: CuratorZookeeperClient change-event bug in Unit Test URL: https://github.com/apache/incubator-shardingsphere/issues/4773#issuecomment-602348617 ## 20200323 After this issue occurs again in 3.20, we found the "curator client"(clientA) in unit test case was not the same of CenterRepository "client"(clientB). When the test class initialized, a testingserver(serverA) started and clientA is connecting to serverA. And then in serveral test cases, testingserver renewed to severB,serverC&severD,with clientB changed to clientC, clientD, ClientE, not the origin serverA&clientB. So,we modify(#4894): - [x] 1、Remove testserver renewing and keep only one server during this test class running - [x] 2、Use final CenterRepository "client" instead of clientA, keep only one client
---------------------------------------------------------------- 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
