Skip to content

Commit 75f5cc6

Browse files
authored
Fixed flaky ssl fullMethod test (#7896)
* Fixed flaky test
1 parent dd99461 commit 75f5cc6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

jetty-server/src/test/java/org/eclipse/jetty/server/HttpServerTestBase.java

+10-2
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,16 @@ public void testFullMethod() throws Exception
209209
byte[] buffer = new byte[64 * 1024];
210210
Arrays.fill(buffer, (byte)'A');
211211

212-
os.write(buffer);
213-
os.flush();
212+
try
213+
{
214+
os.write(buffer);
215+
os.flush();
216+
}
217+
catch (Exception e)
218+
{
219+
if (LOG.isDebugEnabled())
220+
LOG.debug("write exception", e);
221+
}
214222

215223
// Read the response.
216224
String response = readResponse(client);

0 commit comments

Comments
 (0)