void rice::p2p::replication::manager::testing::ReplicationManagerRegrTest::runTest()
{
    for (auto i = int32_t(0); i < NUM_NODES; i++) 
                simulate();

    testBasic();
    testOverload();
    testStress();
    testMaintenance();
}
Exemple #2
0
//PUT int argc, char* argv[] in the parameter for main() when testing all three!!!!!!!!!!
int main(int argc, char* argv[]) {
    testLongStr();  // first test for long keys and c-string values
    testStrLong();  // second test for c-string keys and long values

    // If no number is specified on the command line, seed on current time
    int seed = time(0);
    if (argc == 2) {
        seed = atoi(argv[1]);
    }
    testStress(seed);  // third test for int keys and int values

    return EXIT_SUCCESS;
}