From 61ddf5889de7a3768be43d165d975918cca304f5 Mon Sep 17 00:00:00 2001 From: Eric Milkie Date: Fri, 16 Nov 2012 09:45:54 -0500 Subject: fix random_test.exe on Windows --- src/mongo/platform/random_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mongo/platform/random_test.cpp') 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 ) { -- cgit v1.2.1