From 362ad0a23bf29ed8e5f9fd5d84554a6c9d3e327a Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Mon, 25 Jun 2012 12:25:25 +0000
Subject: [PATCH] SP-164 / BIS-107: Closing EODSQL DataSet objects retrieved by
 Jython scripts automatically - junit

SVN: 25847
---
 .../plugins/jython/ScreeningJythonBasedReportingPluginTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
index 6621f71bfe7..5f5aaa34bf5 100644
--- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
+++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/dss/screening/server/plugins/jython/ScreeningJythonBasedReportingPluginTest.java
@@ -108,6 +108,8 @@ public class ScreeningJythonBasedReportingPluginTest extends AbstractFileSystemT
                 {
                     one(reportingPluginScriptRunner).describe(with(iDataSetsMatcher),
                             with(any(ISimpleTableModelBuilderAdaptor.class)));
+                    
+                    one(reportingPluginScriptRunner).releaseResources();
                 }
             });
         plugin.createReport(Arrays.asList(datasetDescription1, datasetDescription2),
-- 
GitLab