From f9ff1a55a2856be1df6e0e439c0be28c08c52cd7 Mon Sep 17 00:00:00 2001 From: Ray Ortigas Date: Fri, 20 Mar 2015 13:51:09 -0700 Subject: [PATCH] Tweak test. --- .../gobblin/source/extractor/hadoop/HadoopFsHelperTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobblin-core/src/test/java/gobblin/source/extractor/hadoop/HadoopFsHelperTest.java b/gobblin-core/src/test/java/gobblin/source/extractor/hadoop/HadoopFsHelperTest.java index b963fb1b903..e0212966a1d 100644 --- a/gobblin-core/src/test/java/gobblin/source/extractor/hadoop/HadoopFsHelperTest.java +++ b/gobblin-core/src/test/java/gobblin/source/extractor/hadoop/HadoopFsHelperTest.java @@ -10,11 +10,11 @@ public class HadoopFsHelperTest { @Test(expectedExceptions = IllegalArgumentException.class) - public void testConnectFailsOnS3URLWithoutAWSCredentials() throws FileBasedHelperException { + public void testConnectFailsWithS3URLWithoutAWSCredentials() throws FileBasedHelperException { Configuration conf = new Configuration(); // plain conf, no S3 credentials SourceState sourceState = new SourceState(); - HadoopFsHelper fsHelper = new HadoopFsHelper(sourceState, conf); sourceState.setProp(ConfigurationKeys.SOURCE_FILEBASED_FS_URI, "s3://support.elasticmapreduce/spark/install-spark/"); + HadoopFsHelper fsHelper = new HadoopFsHelper(sourceState, conf); fsHelper.connect(); } }