Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/669#discussion_r89994657
  
    --- Diff: 
exec/java-exec/src/test/java/org/apache/drill/TestDynamicUDFSupport.java ---
    @@ -271,6 +271,75 @@ public void testDuplicatedFunctionsInLocalRegistry() 
throws Exception {
       }
     
       @Test
    +  public void testSuccessfulRegistrationAfterSeveralRetryAttempts() throws 
Exception {
    --- End diff --
    
    Actually test `testSuccessfulRegistrationAfterSeveralRetryAttempts()` 
covers this case. To produce this issue we don't need several drillbits, it's 
just enough to issue several concurrent create function commands. As for this 
test case, I just mock method that updates remote function registry to throw 
VersionMismatchException two times and then call this method for real.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to