File tree Expand file tree Collapse file tree 6 files changed +9
-12
lines changed
test/src/com/rabbitmq/client/test Expand file tree Collapse file tree 6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ for artifact in $@; do
1919 rm -f $artifact .asc
2020 gpg --homedir $GNUPG_PATH /.gnupg --local-user $SIGNING_KEY --no-tty --armor --detach-sign --output $artifact .asc $artifact
2121 for ext in ' ' .asc ; do
22- curl -XPUT --data-binary @ $artifact$ext $NEXUS_ROOT /$artifact$ext
22+ curl --upload-file $artifact$ext $NEXUS_ROOT /$artifact$ext
2323 for sum in md5 sha1 ; do
2424 ${sum} sum $artifact$ext | (read a rest ; echo -n " $a " ) > $artifact$ext .$sum
25- curl -XPUT --data-binary @ $artifact$ext .$sum $NEXUS_ROOT /$artifact$ext .$sum
25+ curl --upload-file $artifact$ext .$sum $NEXUS_ROOT /$artifact$ext .$sum
2626 done
2727 done
2828done
Original file line number Diff line number Diff line change @@ -226,5 +226,4 @@ protected void deleteExchange(String x) throws IOException {
226226 protected void deleteQueue (String q ) throws IOException {
227227 channel .queueDelete (q );
228228 }
229-
230229}
Original file line number Diff line number Diff line change 1717
1818package com .rabbitmq .client .test .functional ;
1919
20+ import com .rabbitmq .client .test .BrokerTestCase ;
2021import java .io .IOException ;
2122import java .util .ArrayList ;
2223import java .util .Arrays ;
3334import com .rabbitmq .client .GetResponse ;
3435import com .rabbitmq .client .QueueingConsumer ;
3536import com .rabbitmq .client .QueueingConsumer .Delivery ;
36- import com .rabbitmq .client .test .BrokerTestCase ;
37+
38+ import com .rabbitmq .client .Envelope ;
3739
3840public class QosTests extends BrokerTestCase
3941{
Original file line number Diff line number Diff line change 1717
1818package com .rabbitmq .client .test .functional ;
1919
20+ import com .rabbitmq .client .AMQP ;
21+ import com .rabbitmq .client .test .BrokerTestCase ;
2022import java .io .IOException ;
2123
22- import com .rabbitmq .client .AMQP ;
23- import com .rabbitmq .client .AMQP .BasicProperties ;
2424import com .rabbitmq .client .GetResponse ;
25- import com .rabbitmq .client .test . BrokerTestCase ;
25+ import com .rabbitmq .client .AMQP . BasicProperties ;
2626
2727public abstract class TransactionsBase
2828 extends BrokerTestCase
Original file line number Diff line number Diff line change @@ -30,10 +30,6 @@ protected void restart()
3030 {
3131 tearDown ();
3232 Host .executeCommand ("cd ../rabbitmq-test; make restart-app" );
33- try {
34- Thread .sleep (3000 );
35- } catch (InterruptedException e ) {
36- }
3733 setUp ();
3834 }
3935
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ public static TestSuite suite() {
2626 suite .addTestSuite (Permissions .class );
2727 suite .addTestSuite (DurableBindingLifecycle .class );
2828 suite .addTestSuite (EffectVisibilityCrossNodeTest .class );
29- suite .addTest (PersisterRestartTests .suite ());
3029 suite .addTestSuite (ExclusiveQueueDurability .class );
3130 suite .addTestSuite (AlternateExchangeEquivalence .class );
3231 suite .addTestSuite (MemoryAlarms .class );
32+ suite .addTest (PersisterRestartTests .suite ());
3333 return suite ;
3434 }
3535}
You can’t perform that action at this time.
0 commit comments