Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more visibility to IP address resolution when using DNS and stdcl…
…ient socket count (#556) * Add log to show the ip address DNS resolve to * Add GetIpAddress method HTTPClient * Fast client get ip address report * get ip address for std client * remove todo and add error handling * resolve code climate comments * fix the data race issue * change fmt.Print to log.Info * sort ip address by its usage count * update the log to show ip address per thread * remove go routine to get ip address when using stdclient * add socket count for stdclient and add unit test * Add a todo to move the IPCountMap field * Add unit test for ip distribution * change the sort ip distribution list logic * move the getIPUsageCount to httprunner_test.go * change the client init order to avoid using pointer for socket count * Fix the issue that can cause nil pointer error and add unit test to cover it
- Loading branch information
1 parent
7052338
commit 58f458f
Showing
4 changed files
with
118 additions
and
38 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
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