[grizzly~git:6e4fefba] [2.3.x] + minor test modification

  • From: oleksiys@...
  • To: commits@...
  • Subject: [grizzly~git:6e4fefba] [2.3.x] + minor test modification
  • Date: Wed, 12 Mar 2014 19:38:55 +0000

Project:    grizzly
Repository: git
Revision:   6e4fefba116f0e673850763d8ce59be7521a340f
Author:     oleksiys
Date:       2014-03-12 19:38:46 UTC
Link:       

Log Message:
------------
[2.3.x] + minor test modification


Revisions:
----------
6e4fefba116f0e673850763d8ce59be7521a340f


Modified Paths:
---------------
modules/http-server/src/test/java/org/glassfish/grizzly/http/server/FileCacheTest.java


Diffs:
------
--- 
a/modules/http-server/src/test/java/org/glassfish/grizzly/http/server/FileCacheTest.java
+++ 
b/modules/http-server/src/test/java/org/glassfish/grizzly/http/server/FileCacheTest.java
@@ -572,7 +572,8 @@ public class FileCacheTest {
             responseFuture.reset();
             c.write(request2);
             final HttpContent response2 = responseFuture.get(10, 
TimeUnit.SECONDS);
-
+            
+            assertNotNull(response2);
             assertEquals("304 is expected", 304, ((HttpResponsePacket) 
response2.getHttpHeader()).getStatus());
             assertTrue("empty body is expected", 
!response2.getContent().hasRemaining());
         }





[grizzly~git:6e4fefba] [2.3.x] + minor test modification

oleksiys 03/12/2014
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close