summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-11-16 09:45:54 -0500
committerEric Milkie <milkie@10gen.com>2012-11-16 09:45:54 -0500
commit61ddf5889de7a3768be43d165d975918cca304f5 (patch)
tree12962f2e5101abe8a2cf01c53a2f21ed0d16ffb4 /src
parentd177155d33f7899afb68e3360853b81093a4772e (diff)
downloadmongo-61ddf5889de7a3768be43d165d975918cca304f5.tar.gz
fix random_test.exe on Windows
Diffstat (limited to 'src')
-rw-r--r--src/mongo/platform/random_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/platform/random_test.cpp b/src/mongo/platform/random_test.cpp
index c8a5444638f..1b8d4f64ee8 100644
--- a/src/mongo/platform/random_test.cpp
+++ b/src/mongo/platform/random_test.cpp
@@ -36,12 +36,14 @@ namespace mongo {
}
TEST( RandomTest, Seed2 ) {
+#ifndef _WIN32
PseudoRandom a( 12 );
PseudoRandom b( 12 );
for ( int i = 0; i < 100; i++ ) {
ASSERT_EQUALS( a.nextInt64(), b.nextInt64() );
}
+#endif
}
TEST( RandomTest, R1 ) {