summaryrefslogtreecommitdiff
path: root/src/mongo/s/stale_shard_version_helpers_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/stale_shard_version_helpers_test.cpp')
-rw-r--r--src/mongo/s/stale_shard_version_helpers_test.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/s/stale_shard_version_helpers_test.cpp b/src/mongo/s/stale_shard_version_helpers_test.cpp
index 89a7c0d9d11..0acedd12eae 100644
--- a/src/mongo/s/stale_shard_version_helpers_test.cpp
+++ b/src/mongo/s/stale_shard_version_helpers_test.cpp
@@ -27,9 +27,6 @@
* it in the license file.
*/
-
-#include "mongo/platform/basic.h"
-
#include "mongo/logv2/log.h"
#include "mongo/s/sharding_router_test_fixture.h"
#include "mongo/s/stale_shard_version_helpers.h"
@@ -38,7 +35,6 @@
#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest
-
namespace mongo {
namespace {
@@ -98,8 +94,8 @@ TEST_F(AsyncShardVersionRetry, LimitedStaleErrorsShouldReturnCorrectValue) {
service(), nss(), catalogCache, desc(), getExecutor(), token, [&](OperationContext*) {
if (++tries < 5) {
uassert(StaleConfigInfo(nss(),
- ChunkVersion(5, 23, OID::gen(), {}),
- ChunkVersion(6, 99, OID::gen(), {}),
+ ChunkVersion({OID::gen(), Timestamp(1, 0)}, {5, 23}),
+ ChunkVersion({OID::gen(), Timestamp(1, 0)}, {6, 99}),
ShardId("sB")),
"testX",
false);