| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8f49b7c commit c6f9afe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,11 +3,11 @@ const common = require('../common'); | |||
| 3 | 3 | const assert = require('assert'); | |
| 4 | 4 | const http = require('http'); | |
| 5 | 5 | ||
| 6 | - const REQ_TIMEOUT = 500; // Set max ms of request time before abort | ||
| 6 | + const REQ_TIMEOUT = common.platformTimeout(500); // Set max ms of request time before abort | ||
| 7 | 7 | ||
| 8 | 8 | // Set total allowed test timeout to avoid infinite loop | |
| 9 | 9 | // that will hang test suite | |
| 10 | - const TOTAL_TEST_TIMEOUT = 1000; | ||
| 10 | + const TOTAL_TEST_TIMEOUT = common.platformTimeout(1000); | ||
| 11 | 11 | ||
| 12 | 12 | // Placeholder for sockets handled, to make sure that we | |
| 13 | 13 | // will reach a socket re-use case. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments