Updated Branches: refs/heads/trunk 082042e82 -> a74eb1fc1
AMBARI-4034. Create the RequestSchedule resource provider. Unit test fix. (swagle) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a74eb1fc Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a74eb1fc Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a74eb1fc Branch: refs/heads/trunk Commit: a74eb1fc14cecee859cf0239ba662414b14d72d8 Parents: 082042e Author: Siddharth Wagle <[email protected]> Authored: Thu Jan 2 14:13:00 2014 -0800 Committer: Siddharth Wagle <[email protected]> Committed: Thu Jan 2 14:13:14 2014 -0800 ---------------------------------------------------------------------- .../apache/ambari/server/scheduler/ExecutionSchedulerTest.java | 4 ++-- ambari-server/src/test/resources/password.dat | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a74eb1fc/ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java b/ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java index f37da29..822f583 100644 --- a/ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java +++ b/ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java @@ -29,6 +29,8 @@ import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; import org.quartz.Scheduler; import org.quartz.impl.StdSchedulerFactory; + +import java.io.File; import java.util.Properties; import static org.easymock.EasyMock.expect; import static org.mockito.Mockito.spy; @@ -52,8 +54,6 @@ public class ExecutionSchedulerTest { properties.setProperty(Configuration.SERVER_JDBC_DRIVER_KEY, "db.driver"); properties.setProperty(Configuration.SERVER_JDBC_URL_KEY, "db.url"); properties.setProperty(Configuration.SERVER_JDBC_USER_NAME_KEY, "user"); - properties.setProperty(Configuration.SERVER_JDBC_USER_PASSWD_KEY, - "ambari-server/src/test/resources/password.dat"); properties.setProperty(Configuration.SERVER_DB_NAME_KEY, "derby"); this.configuration = new Configuration(properties); http://git-wip-us.apache.org/repos/asf/ambari/blob/a74eb1fc/ambari-server/src/test/resources/password.dat ---------------------------------------------------------------------- diff --git a/ambari-server/src/test/resources/password.dat b/ambari-server/src/test/resources/password.dat deleted file mode 100644 index 03ef607..0000000 --- a/ambari-server/src/test/resources/password.dat +++ /dev/null @@ -1 +0,0 @@ -bigdata \ No newline at end of file
