-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Add unidimensional stress test with 127 agents" into R2.20
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. | ||
*/ | ||
|
||
#define __BGP_STRESS_TEST_SUITE__ | ||
#include "bgp_stress_test.cc" | ||
|
||
// Unidimensional test with maximum allowed agents | ||
int main(int argc, char **argv) { | ||
|
||
// Give more time for TASK_UTIL_EXPECT_* to timeout. | ||
setenv("TASK_UTIL_RETRY_COUNT", "60000", false); | ||
setenv("TASK_UTIL_DEFAULT_WAIT_TIME", "10000", false); | ||
setenv("WAIT_FOR_IDLE", "120", false); | ||
|
||
const char *largv[] = { | ||
__FILE__, "--log-disable", | ||
|
||
"--nagents=127", | ||
}; | ||
|
||
return bgp_stress_test_main(sizeof(largv)/sizeof(largv[0]), largv); | ||
} |