Commit 21aec45a authored by lichenchong's avatar lichenchong
Browse files

Kinetic test:

Modify two assert for batch operation test.
parent db37e9cd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -860,7 +860,8 @@ public class BatchOpAPITest extends IntegrationTestCase {
        try {
            batch.commit();
        } catch (KineticException e) {
            Assert.fail("Batch commit throw exception. " + e.getMessage());
            Assert.assertTrue(e.getResponseMessage().getCommand().getStatus()
                    .getCode().equals(StatusCode.INVALID_BATCH));
        }

        // get foo, expect to find null
@@ -940,7 +941,8 @@ public class BatchOpAPITest extends IntegrationTestCase {
        try {
            batch.commit();
        } catch (KineticException e) {
            Assert.fail("Batch commit throw exception. " + e.getMessage());
            Assert.assertTrue(e.getResponseMessage().getCommand().getStatus()
                    .getCode().equals(StatusCode.INVALID_BATCH));
        }

        // get foo, expect to find null