danielcweeks commented on code in PR #16848:
URL: https://github.com/apache/iceberg/pull/16848#discussion_r4272359249


##########
gcp/src/test/java/org/apache/iceberg/gcp/auth/TestGoogleAuthManager.java:
##########
@@ -221,6 +228,45 @@ public void initializationOccursOnlyOnce() {
     mockedStaticCredentials.verify(GoogleCredentials::getApplicationDefault, 
times(1));
   }
 
+  @Test
+  public void concurrentInitialization() throws Exception {

Review Comment:
   This test isn't a good addition.  It's not testing a behavior and if there 
were a race on this, it isn't deterministic.  It's doing the same thing as 
`initialzationOccursOnlyOnce`.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to