File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
#undef MONGOC_LOG_DOMAIN
10
10
#define MONGOC_LOG_DOMAIN "async-test"
11
11
12
- #define TIMEOUT 10000
12
+ #define TIMEOUT 10000 /* milliseconds */
13
13
#define NSERVERS 10
14
14
15
15
#define TRUST_DIR "tests/trust_dir"
@@ -126,7 +126,7 @@ test_ismaster_impl (bool with_ssl)
126
126
TIMEOUT );
127
127
}
128
128
129
- while (mongoc_async_run (async , TIMEOUT * 1000 * 10 )) {
129
+ while (mongoc_async_run (async , TIMEOUT )) {
130
130
}
131
131
132
132
for (i = 0 ; i < NSERVERS ; i ++ ) {
Original file line number Diff line number Diff line change 8
8
#undef MONGOC_LOG_DOMAIN
9
9
#define MONGOC_LOG_DOMAIN "topology-scanner-test"
10
10
11
- #define TIMEOUT 20000
11
+ #define TIMEOUT 20000 /* milliseconds */
12
12
#define NSERVERS 10
13
13
14
14
#define TRUST_DIR "tests/trust_dir"
You can’t perform that action at this time.
0 commit comments