Skip to content

Commit f65cadd

Browse files
author
Rob Harrop
committed
Merge with default
2 parents 99b064e + 6467e99 commit f65cadd

File tree

8 files changed

+346
-455
lines changed

8 files changed

+346
-455
lines changed

test/src/com/rabbitmq/client/test/functional/AlternateExchange.java

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,6 @@ protected void cleanup() throws IOException {
111111
}
112112
}
113113

114-
protected void publish(String key, boolean mandatory, boolean immediate)
115-
throws IOException {
116-
channel.basicPublish("x", key, mandatory, immediate, null,
117-
"ae-test".getBytes());
118-
}
119-
120-
protected void publish(String key) throws IOException {
121-
publish(key, false, false);
122-
}
123-
124114
/**
125115
* Perform an auto-acking 'basic.get' on each of the queues named
126116
* in {@link #resources} and check whether a message can be
@@ -161,7 +151,8 @@ protected void check(String key, boolean mandatory, boolean immediate,
161151
throws IOException {
162152

163153
gotReturn.set(false);
164-
publish(key, mandatory, immediate);
154+
channel.basicPublish("x", key, mandatory, immediate, null,
155+
"ae-test".getBytes());
165156
checkGet(expected);
166157
assertEquals(ret, gotReturn.get());
167158
}
@@ -212,19 +203,6 @@ public void testAe() throws IOException {
212203
check(k, false, true, unrouted, true);
213204
}
214205

215-
//tx
216-
channel.txSelect();
217-
for (String k : keys) {
218-
publish(k);
219-
checkGet(unrouted);
220-
channel.txRollback();
221-
checkGet(unrouted);
222-
publish(k);
223-
checkGet(unrouted);
224-
channel.txCommit();
225-
checkGet(expected(k));
226-
}
227-
228206
cleanup();
229207
}
230208

test/src/com/rabbitmq/client/test/functional/FunctionalTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public static TestSuite suite() {
3333
suite.addTestSuite(Recover.class);
3434
suite.addTestSuite(Reject.class);
3535
suite.addTestSuite(Transactions.class);
36-
suite.addTestSuite(PersistentTransactions.class);
3736
suite.addTestSuite(RequeueOnConnectionClose.class);
3837
suite.addTestSuite(RequeueOnChannelClose.class);
3938
suite.addTestSuite(DurableOnTransient.class);

test/src/com/rabbitmq/client/test/functional/PersistentTransactions.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)