p-kimberley commented on PR #7603:
URL: https://github.com/apache/nifi/pull/7603#issuecomment-1691887959

   > > Hi @exceptionfactory thanks for pointing out the issue with the tests. 
I've fixed the tests relevant to `DeduplicateRecord`. I'm unable to complete 
all tests locally however, due to the following error:
   > > ```
   > > 
-------------------------------------------------------------------------------
   > > Test set: 
org.apache.nifi.kubernetes.client.StandardKubernetesClientProviderTest
   > > 
-------------------------------------------------------------------------------
   > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.279 s 
<<< FAILURE! - in 
org.apache.nifi.kubernetes.client.StandardKubernetesClientProviderTest
   > > 
org.apache.nifi.kubernetes.client.StandardKubernetesClientProviderTest.testGetKubernetesClient
  Time elapsed: 6.125 s  <<< ERROR!
   > > java.util.concurrent.TimeoutException: testGetKubernetesClient() timed 
out after 5 seconds
   > >  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   > >  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   > > ```
   > 
   > It sounds like there is a default Kubernetes configuration in 
`~/.kube/config` which the test is trying to load. The simple workaround for 
now is to rename that file, but it sounds like we should address that 
separately to avoid attempting to load the default configuration.
   
   @exceptionfactory Thanks for the workaround. All tests complete successfully 
- cheers!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to