priyankporwal commented on a change in pull request #469: PHOENIX-5156 
Consistent Global Indexes for Non-Transactional Tables
URL: https://github.com/apache/phoenix/pull/469#discussion_r279107220
 
 

 ##########
 File path: 
phoenix-core/src/test/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryTest.java
 ##########
 @@ -100,6 +100,8 @@ public void testCachedConnections() throws Exception {
     final HRegionInfo regionInfo = regions.get(0);
 
     writeToTable(tableName, conn, noOfOrgs);
+    // Wait for lazy writer threads to finish
+    Thread.sleep(1000);
 
 Review comment:
   This is not guaranteed to always work. Is there any alternative?

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

Reply via email to