Skip to content

Commit 2893f1b

Browse files
authored
Reduce number of iterations of fast request test to reduce likelihood of repeated nonce from rand() (#30)
1 parent dfe2120 commit 2893f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fast_request_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class FastRequestTest {
4242
std::vector<std::string> queries;
4343
// Just save the output here so we can generate as many as quickly as we
4444
// can, hopefully increasing the likelihood of duplicates.
45-
int ntests = 25000;
45+
int ntests = 1000;
4646
for(int i = 0; i < ntests; i++) {
4747
queries.push_back(oauth.getURLQueryString(OAuth::Http::Head, resource));
4848
}

0 commit comments

Comments
 (0)