From 74a363c742c022fc70c2bde93db6d956e67de6b2 Mon Sep 17 00:00:00 2001 From: jmoore Date: Thu, 8 Apr 2010 17:43:57 +0000 Subject: [PATCH] see #2083 - Using ICE_CONFIG for the test Brian, you need to reorganize this so that more than one invocation is possible. Basically, it should be the simplest possible example which will reproduce the failure every time. git-svn-id: file:///home/svn/omero/trunk@6556 05709c45-44f0-0310-885b-81a1db45b4a6 --- components/tools/OmeroJava/test/integration/TableTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/tools/OmeroJava/test/integration/TableTest.java b/components/tools/OmeroJava/test/integration/TableTest.java index 5cc18146026..94006aeb1e4 100644 --- a/components/tools/OmeroJava/test/integration/TableTest.java +++ b/components/tools/OmeroJava/test/integration/TableTest.java @@ -41,9 +41,8 @@ public class TableTest extends TestCase { @Override @BeforeMethod public void setUp() throws Exception { - File local = ResourceUtils.getFile("classpath:local.properties"); - client = new omero.client(local); + client = new omero.client(); sf = client.createSession("root", client.getProperty("omero.rootpass")); //client = new omero.client("mage.openmicroscopy.org.uk", 4064); @@ -52,7 +51,7 @@ public void setUp() throws Exception { iQuery = sf.getQueryService(); iAdmin = sf.getAdminService(); iUpdate = sf.getUpdateService(); - + myColumns = createColumns(1); myTable = initializeTable(dbName); }