aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-10-14 11:45:31 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-10-14 15:51:34 +0200
commitd8d068e38bf581875ab78defae4ea15fa5502e83 (patch)
tree81d13f191ab5763d196e1c27c3b1a82b55289f74 /searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp
parent1ea40c61012e36f4cecf93194d3e15ef26a4b642 (diff)
Remove partitions from SPI.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp b/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp
index 3adb153863c..4b548197ae1 100644
--- a/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp
@@ -20,7 +20,6 @@ using storage::spi::test::makeSpiBucket;
using vespalib::ThreadStackExecutor;
using proton::test::BucketStateCalculator;
-const PartitionId PART_ID(0);
const GlobalId GID_1("111111111111");
const BucketId BUCKET_1(8, GID_1.convertToBucketId().getRawId());
const Timestamp TIME_1(1u);
@@ -147,7 +146,7 @@ struct Fixture
}
void sync() { _exec.sync(); }
void handleGetBucketInfo(const BucketId &bucket) {
- _handler.handleGetBucketInfo(makeSpiBucket(bucket, PART_ID), _bucketInfo);
+ _handler.handleGetBucketInfo(makeSpiBucket(bucket), _bucketInfo);
}
void
setNodeUp(bool value)