Fixed test for symlinked directory

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2019-08-12 17:21:49 +10:00
parent e7a1978556
commit 699f832632
1 changed files with 3 additions and 2 deletions

View File

@ -47,14 +47,15 @@ public class CustomRequestLogTest
Server _server;
LocalConnector _connector;
BlockingQueue<String> _entries = new BlockingArrayQueue<>();
String _tmpDir = System.getProperty("java.io.tmpdir");
String _tmpDir;
@BeforeEach
public void before()
public void before() throws Exception
{
_server = new Server();
_connector = new LocalConnector(_server);
_server.addConnector(_connector);
_tmpDir = new File(System.getProperty("java.io.tmpdir")).getCanonicalPath();
}
void testHandlerServerStart(String formatString) throws Exception