From f73ae5650e6fb65268f26c8eeb9dc6aa0a2f474f Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Wed, 7 Sep 2016 14:26:22 -0400 Subject: SERVER-25868 Incomplete FTDC files on Window --- src/mongo/db/ftdc/file_writer_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mongo/db/ftdc/file_writer_test.cpp b/src/mongo/db/ftdc/file_writer_test.cpp index 14fd205ad0a..138d7c850f6 100644 --- a/src/mongo/db/ftdc/file_writer_test.cpp +++ b/src/mongo/db/ftdc/file_writer_test.cpp @@ -326,7 +326,9 @@ TEST(FTDCFileTest, TestLargeDocuments) { BSONObjBuilder b; b.append("name", "joe"); for (size_t k = 0; k < 200; k++) { - b.appendNumber("num", static_cast(i * j + 5000 - (sin(k) * 100))); + b.appendNumber( + "num", + static_cast(i * j + 5000 - (sin(static_cast(k)) * 100))); } c.addSample(b.obj()); -- cgit v1.2.1