Rename confusing test method
This commit is contained in:
3
pom.xml
3
pom.xml
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user