Skip to content

Commit

Permalink
Tweak test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rayortigas committed Mar 20, 2015
1 parent ed9a623 commit f9ff1a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit f9ff1a5

Please sign in to comment.