andreachild commented on code in PR #3203:
URL: https://github.com/apache/tinkerpop/pull/3203#discussion_r2342966714
##########
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/driver/ClientConnectionIntegrateTest.java:
##########
@@ -227,10 +227,17 @@ public void
overLimitOperationsShouldDelegateToSingleNewConnection() throws Inte
}
});
- assertEquals(2, connectionBorrowCount.size());
- for (int finalBorrowCount : connectionBorrowCount.values()) {
- assertEquals(usagePerConnection, finalBorrowCount);
- }
+ // The intent of this test is to ensure that the driver grows from 1
connection to only as many as needed to satisfy
maxSimultaneousUsagePerConnection limits
+ // (i.e. 2 fully utilized connections at 3 operations each for a total
of 6 operations).
+ // On CI / Github runners, ephemeral third connections can appear.
Review Comment:
Would be nice to understand what's causing the ephemeral third connection.
In the past I was able to reproduce flaky github connection test failures
that I could not reproduce locally but only on a slower EC2 instance. I should
still have that particular EC2 available and can try to reproduce the test
failure.
--
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]