File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
test/src/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -390,13 +390,10 @@ public void testCommitNacks()
390390 public void testRollbackNacks ()
391391 throws IOException
392392 {
393- basicPublish ();
394393 basicPublish ();
395394 txSelect ();
396395 basicGet ();
397- basicNack (false );
398- basicGet ();
399- basicAck ();
396+ basicNack (true );
400397 txRollback ();
401398 assertNull (basicGet ());
402399 }
@@ -448,13 +445,10 @@ public void testCommitRejects()
448445 public void testRollbackRejects ()
449446 throws IOException
450447 {
451- basicPublish ();
452448 basicPublish ();
453449 txSelect ();
454450 basicGet ();
455- basicReject (false );
456- basicGet ();
457- basicAck ();
451+ basicReject (true );
458452 txRollback ();
459453 assertNull (basicGet ());
460454 }
You can’t perform that action at this time.
0 commit comments