Skip to content

Commit

Permalink
Merge pull request #97 from gianm/kafka-release
Browse files Browse the repository at this point in the history
Move kafka sample file and logging configs to distribution.
  • Loading branch information
gianm committed Jan 18, 2016
2 parents be2574a + a418da6 commit a52ac89
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 69 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,6 @@ lazy val distribution = project.in(file("distribution"))
.settings(publishArtifact in Test := false)
.settings(mainClass in Compile := Some("com.metamx.tranquility.distribution.DistributionMain"))
.settings(executableScriptName := "tranquility")
.settings(javaOptions in Universal ++= Seq("-J-Dfile.encoding=UTF-8", "-J-Duser.timezone=UTC"))
.settings(bashScriptExtraDefines += """addJava "-Dlogback.configurationFile=${app_home}/../conf/logback.xml"""")
.enablePlugins(JavaAppPackaging)
.dependsOn(kafka, server)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private static KafkaConfig getKafkaTestConfig() throws Exception
return new KafkaConfig(props);
}

@Test(timeout = 15000)
@Test(timeout = 60_000L)
public void testStartConsumersNoCommit() throws Exception
{
final String topic = "testStartConsumersNoCommit";
Expand Down Expand Up @@ -225,7 +225,7 @@ public Plumber findPlumber(DataSchema schema, RealtimeTuningConfig config, FireD
EasyMock.verify(mockWriterController, mockEventWriter);
}

@Test(timeout = 15000)
@Test(timeout = 60_000L)
public void testStartConsumersWithCommitThread() throws Exception
{
final String topic = "testStartConsumersWithCommitThread";
Expand Down
33 changes: 0 additions & 33 deletions server/src/main/resources/logback.xml

This file was deleted.

33 changes: 0 additions & 33 deletions server/src/test/resources/logback.xml

This file was deleted.

0 comments on commit a52ac89

Please sign in to comment.