mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix test
This commit is contained in:
parent
1f9e8fcad6
commit
8247227d74
@ -210,6 +210,9 @@ namespace PerfTests {
|
||||
*/
|
||||
class Update1 : public B {
|
||||
public:
|
||||
static int rand() {
|
||||
return std::rand() & 0x7fff;
|
||||
}
|
||||
string name() { return "random upserts"; }
|
||||
void prep() {
|
||||
client().insert( ns(), BSONObj() );
|
||||
|
Loading…
Reference in New Issue
Block a user