-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unidimensional stress test with 127 agents
Change-Id: I72b9a143305a62ab5870955007fe5f4e29211dd5 Partial-Bug: 1464016
- Loading branch information
Nischal Sheth
committed
Jul 8, 2015
1 parent
0e2f30f
commit 6398314
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); | ||
} |