Rename confusing test method

This commit is contained in:
Dave Syer
2011-03-07 14:32:32 +00:00
parent 08cd94cd33
commit 1b605042de
4 changed files with 15 additions and 3 deletions

View File

@@ -32,6 +32,9 @@
<profiles>
<profile>
<id>staging</id>
<properties>
<dist.staging>/${java.io.tmpdir}/spring-amqp/dist</dist.staging>
</properties>
<distributionManagement>
<site>
<id>spring-site-staging</id>

View File

@@ -62,7 +62,7 @@
<downloadUrl>http://www.springsource.com/download/community
</downloadUrl>
<site>
<id>spring-docs</id>
<id>spring-site</id>
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-amqp/docs/${project.version}
</url>
</site>

View File

@@ -97,7 +97,7 @@ public class MessageListenerBrokerInterruptionIntegrationTests {
}
@Test
public void testListenerRecoversFromClosedConnection() throws Exception {
public void testListenerRecoversFromDeadBroker() throws Exception {
List<QueueInfo> queues = brokerAdmin.getQueues();
logger.info("Queues: " + queues);

View File

@@ -30,7 +30,8 @@ ant -f src/ant/upload-dist.xml \
</classpath>
-->
</taskdef>
<target name="upload-dist">
<target name="upload-dist" depends="upload-s3,upload-staging"/>
<target name="upload-s3" unless="dist.staging">
<checksum file="${dist.filePath}" algorithm="sha1"/>
<s3 accessKey="${dist.accessKey}" secretKey="${dist.secretKey}">
<upload bucketName="${dist.bucketName}" file="${dist.filePath}"
@@ -45,4 +46,12 @@ ant -f src/ant/upload-dist.xml \
</upload>
</s3>
</target>
<target name="upload-staging" if="dist.staging">
<echo>Copying dist .ZIP to ${dist.staging}</echo>
<checksum file="${dist.filePath}" algorithm="sha1"/>
<copy file="${dist.filePath}.sha1"
toFile="${dist.staging}/${dist.key}/${dist.fileName}.sha1"/>
<copy file="${dist.filePath}"
toFile="${dist.staging}/${dist.key}/${dist.fileName}"/>
</target>
</project>