summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/storageserver
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2017-10-25 12:57:58 +0000
committerTor Egge <Tor.Egge@oath.com>2017-10-25 13:04:06 +0000
commitb01db859c00ad78a14e0e0da78c50ca94b6396c9 (patch)
tree54bfbbb4c1e3be9665dcb98caca030ecccaccb55 /storage/src/tests/storageserver
parentf234b87911c8b1e1457b9fc22fcea46a9396df14 (diff)
Pass document::Bucket to AbortBucketOperationsCommand::shouldAbort method.
Diffstat (limited to 'storage/src/tests/storageserver')
-rw-r--r--storage/src/tests/storageserver/changedbucketownershiphandlertest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/tests/storageserver/changedbucketownershiphandlertest.cpp b/storage/src/tests/storageserver/changedbucketownershiphandlertest.cpp
index 732aff5faf6..18e93d00494 100644
--- a/storage/src/tests/storageserver/changedbucketownershiphandlertest.cpp
+++ b/storage/src/tests/storageserver/changedbucketownershiphandlertest.cpp
@@ -197,7 +197,7 @@ bool
hasAbortedAllOf(const AbortBucketOperationsCommand::SP& cmd, const Vec& v)
{
for (auto& b : v) {
- if (!cmd->shouldAbort(b)) {
+ if (!cmd->shouldAbort(makeDocumentBucket(b))) {
return false;
}
}
@@ -209,7 +209,7 @@ bool
hasAbortedNoneOf(const AbortBucketOperationsCommand::SP& cmd, const Vec& v)
{
for (auto& b : v) {
- if (cmd->shouldAbort(b)) {
+ if (cmd->shouldAbort(makeDocumentBucket(b))) {
return false;
}
}