diff options
Diffstat (limited to 'storageapi/src/tests/mbusprot/storageprotocoltest.cpp')
-rw-r--r-- | storageapi/src/tests/mbusprot/storageprotocoltest.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/storageapi/src/tests/mbusprot/storageprotocoltest.cpp b/storageapi/src/tests/mbusprot/storageprotocoltest.cpp index a04b0d71e96..73fbb43a4e9 100644 --- a/storageapi/src/tests/mbusprot/storageprotocoltest.cpp +++ b/storageapi/src/tests/mbusprot/storageprotocoltest.cpp @@ -5,7 +5,6 @@ #include <vespa/storageapi/message/bucketsplitting.h> #include <vespa/storageapi/message/internal.h> #include <vespa/storageapi/message/removelocation.h> -#include <vespa/storageapi/message/multioperation.h> #include <vespa/storageapi/message/batch.h> #include <vespa/storageapi/mbusprot/storageprotocol.h> #include <vespa/storageapi/mbusprot/storagecommand.h> @@ -92,7 +91,6 @@ struct StorageProtocolTest : public CppUnit::TestFixture { void testSplitBucket51(); void testSplitBucketChain51(); void testJoinBuckets51(); - void testMultiOperation51(); void testBatchPutRemove51(); void testCreateVisitor51(); void testDestroyVisitor51(); @@ -135,7 +133,6 @@ struct StorageProtocolTest : public CppUnit::TestFixture { CPPUNIT_TEST(testCreateVisitor51); CPPUNIT_TEST(testDestroyVisitor51); CPPUNIT_TEST(testRemoveLocation51); - CPPUNIT_TEST(testMultiOperation51); CPPUNIT_TEST(testBatchPutRemove51); CPPUNIT_TEST(testInternalMessage); CPPUNIT_TEST(testSetBucketState51); @@ -784,30 +781,6 @@ StorageProtocolTest::testApplyBucketDiff51() } void -StorageProtocolTest::testMultiOperation51() -{ - ScopedName test("testMultiOperation51"); - - document::BucketId bucketId(20, 0xf1f1f1f1f1ull); - document::Bucket bucket(makeDocumentBucket(bucketId)); - DocumentTypeRepo::SP repo(new DocumentTypeRepo); - MultiOperationCommand::SP - cmd(new MultiOperationCommand(repo, bucket, 10000)); - cmd->getOperations().addPut(*_testDoc); - MultiOperationCommand::SP cmd2(copyCommand(cmd, _version5_1)); - CPPUNIT_ASSERT_EQUAL(bucketId, cmd2->getBucketId()); - CPPUNIT_ASSERT_EQUAL(*_testDoc, - *cmd2->getOperations().begin()->getDocument()); - - MultiOperationReply::SP reply(new MultiOperationReply(*cmd2)); - MultiOperationReply::SP reply2(copyReply(reply)); - - recordOutput(*cmd2); - recordOutput(*reply2); - recordSerialization50(); -} - -void StorageProtocolTest::testBatchPutRemove51() { ScopedName test("testBatchPutRemove51"); |