You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2011/10/06 22:46:42 UTC
svn commit: r1179844 -
/oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java
Author: bfoster
Date: Thu Oct 6 20:46:42 2011
New Revision: 1179844
URL: http://svn.apache.org/viewvc?rev=1179844&view=rev
Log:
- force initialize to be called... could be the cause of the NullPointerException on Jenkins
Modified:
oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java
Modified: oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java
URL: http://svn.apache.org/viewvc/oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java?rev=1179844&r1=1179843&r2=1179844&view=diff
==============================================================================
--- oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java (original)
+++ oodt/trunk/protocol/protocol-sftp/src/test/org/apache/oodt/cas/protocol/sftp/TestJschSftpProtocol.java Thu Oct 6 20:46:42 2011
@@ -18,6 +18,7 @@ package org.apache.oodt.cas.protocol.sft
//JUnit imports
import java.io.File;
+import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
@@ -58,8 +59,8 @@ public class TestJschSftpProtocol extend
@Override
public void setUp() {
try {
- ConfigurationLoader.initialize(false, context = new TestXmlServerConfigurationContext());
- } catch (ConfigurationException e1) {
+ ConfigurationLoader.initialize(true, context = new TestXmlServerConfigurationContext());
+ } catch (Exception e) {
fail("Failed to initialize server configuration");
}